Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Problems with ISONORAFTER

Im trying to divide the parcels of my products in line and tried to do something like this

Postigo_0-1626118182364.png

the measure ReceivedValue running total... works fine with DocName that the parcels have the same value(A,C) but when there is a value different in the parcel(B,D) things don't work very well. Can someone help me with this?

This is what i expect 

Postigo_1-1626118299698.png

 

Thanks

Power Bi File 

1 ACCEPTED SOLUTION
FrankAT
Community Champion
Community Champion

Hi @Anonymous ,

you can do it like this (take a look at the attached PBIX file):

 

12-07-_2021_23-26-31.png

 

Running Total = 
CALCULATE (
    [Sum of ReceivedValue],
    FILTER (
        ALLEXCEPT ( Planilha1, Planilha1[OrderId] ),
        Planilha1[DatePayment] <= MAX ( Planilha1[DatePayment] )
    )
)

Sum of ReceivedValue = SUM(Planilha1[ReceivedValue])

 

With kind regards from the town where the legend of the 'Pied Piper of Hamelin' is at home
FrankAT (Proud to be a Datanaut)

 

View solution in original post

1 REPLY 1
FrankAT
Community Champion
Community Champion

Hi @Anonymous ,

you can do it like this (take a look at the attached PBIX file):

 

12-07-_2021_23-26-31.png

 

Running Total = 
CALCULATE (
    [Sum of ReceivedValue],
    FILTER (
        ALLEXCEPT ( Planilha1, Planilha1[OrderId] ),
        Planilha1[DatePayment] <= MAX ( Planilha1[DatePayment] )
    )
)

Sum of ReceivedValue = SUM(Planilha1[ReceivedValue])

 

With kind regards from the town where the legend of the 'Pied Piper of Hamelin' is at home
FrankAT (Proud to be a Datanaut)

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.