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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
jamc
Frequent Visitor

RUNNING TOTAL **bleep** DISPLAY ONLY RECENT DATE

Hi im looking a dax tha only allows me to calculate running total for the most recent date available, (without displaying previouse date), I managed to get the running total but I need only to display the cummulative view in one row (which will chang every time that I changed the dates parameters)

 

DateDmd Total**bleep** Dmd TotalDesirable outcome
1/30/2023 0:0000 
2/6/2023 0:0000 
2/13/2023 0:00777777 
2/20/2023 0:006871464 
2/27/2023 0:003401804 
3/6/2023 0:0001804 
3/13/2023 0:0001804 
3/20/2023 0:00018041804
1 REPLY 1
tamerj1
Super User
Super User

Hi @jamc 

please try

=
IF (
SELECTEDVALUE ( [Date] ) = MAXX ( ALLSELECTED ( [Date] ), [Date] ),
[Running Dmd Total]
)

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.