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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
SBR1D
Helper III
Helper III

Line chart with running total

Hello

 

I have a line chart dates from a Date table on the x-axis. I then have Culmative active engage on the Y Axis. I have a date filter on the visual which is set to Relative date is this month. The thing is the line is showing the same value for all the days in September apart from the 1st. Why is it doing this, it should only show values for 1st and 2nd September right?

 

Count of active engage = CALCULATE(COUNTX('Table','Table'[measure1]))

 
Culmative active engage = TOTALMTD( [measure1], DATESMTD('Date'[Date]))
 
SBR1D_1-1725281271468.png

 

 

 

1 ACCEPTED SOLUTION

A quick a dirty way of dealing with this is create a measure that hides the calculation for days before today:
Hide values = If( selectedValue('Date'[Date]) <= Today(), [Culmative active engage], Blank())

 

It would be better to work which of the 3 measures is returning the value regardless of filters. What is the definition of Measure1?


If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

View solution in original post

5 REPLIES 5
SamWiseOwl
Super User
Super User

Hi @SBR1D 

If a measure CAN show data it will.

So a simple measure like:
Basic Measure = 1

When in your visual will show for every single date available.

 


If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

Thanks, so it cannot be done?

A quick a dirty way of dealing with this is create a measure that hides the calculation for days before today:
Hide values = If( selectedValue('Date'[Date]) <= Today(), [Culmative active engage], Blank())

 

It would be better to work which of the 3 measures is returning the value regardless of filters. What is the definition of Measure1?


If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

that works!

Thank you

Oh ive labelled the measure wrong in the first post , here you go..

 

meausre1 = CALCULATE(COUNTX('Table','Table'[data_to_count]))

 
Culmative active engage = TOTALMTD( [measure1], DATESMTD('Date'[Date]))

 

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.