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
Wiene24
Helper II
Helper II

Running total per day based on slicers

After reading a couple of topics I still haven't found the solution to my answer.

What I would like:

 

A running total per day in a line chart.

The line chart should show a different line per day.

The running total is based on time.

 

I now have the following measure:

 

LDM cumulatief =
CALCULATE(SUM('dba Dossier'[DBCalcTotaalLDM]);
FILTER(ALLSELECTED('dba Dossier');
'dba Dossier'[DatumAdd] <= MAX('dba Dossier'[DatumAdd]) &&
YEAR('dba Dossier'[DatumAdd]) = YEAR(MAX('dba Dossier'[DatumAdd])) &&
MONTH('dba Dossier'[DatumAdd]) = MONTH(MAX('dba Dossier'[DatumAdd])) &&
DAY('dba Dossier'[DatumAdd]) <= DAY(MAX('dba Dossier'[DatumAdd]))))
 
But it gives me the following line chart:
 
Wiene24_0-1683210671003.png

 

 

It should reset every day so I can see the sum of the orders based on time.

 

Thanks for the help!

4 REPLIES 4
lbendlin
Super User
Super User

like this ?

lbendlin_0-1683560404908.png

or like this ?

lbendlin_1-1683561059101.png

 

I woud like to have a seperate line for each day, so I can see the differences between the days.

Wiene24
Helper II
Helper II
lbendlin
Super User
Super User

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.