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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors