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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
mesuyog
Regular Visitor

Creating a Bar Chart for running total.

Hi i have created a running total with following DAX

1_Running total All Select = CALCULATE ( SUM('US Superstore data'[Sales]), FILTER ( ALLSELECTED ( 'Date'[Date] ), 'Date'[Date]<= MAX ( 'Date'[Date])))
 
but when i take this measure into bar chart for yearly it shows good...but when i drill down it gets missplaced...
 
mesuyog_0-1642412456494.pngmesuyog_1-1642412481555.png

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@mesuyog , date in visual should come from date table and Date table should be marked as date table

Why Time Intelligence Fails - Powerbi 5 Savior Steps for TI :https://youtu.be/OBf0rjpp5Hw
https://amitchandak.medium.com/power-bi-5-key-points-to-make-time-intelligence-successful-bd52912a5b...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
mesuyog
Regular Visitor

@amitchandak  Thank you...it solved my issue...

 

amitchandak
Super User
Super User

@mesuyog , date in visual should come from date table and Date table should be marked as date table

Why Time Intelligence Fails - Powerbi 5 Savior Steps for TI :https://youtu.be/OBf0rjpp5Hw
https://amitchandak.medium.com/power-bi-5-key-points-to-make-time-intelligence-successful-bd52912a5b...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors