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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. 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
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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