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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

I have a cumulative total not givinng proper result with year slicer

I have a DAX to calculate cumulative total.  it is giving correct result if there are no filters or slicers applied. I have year slicer, when I click on that, 2019 year gives me correct result for every month but when I click 2018, it is giving me same result for every month. I have only data from September to December for 2018. 

 

2019 result:2019 data2019 data

 

2018 Data2018 Data

1 ACCEPTED SOLUTION
Anonymous
Not applicable

I found solution for this. First of all I should be using Dates instead of months in the dat for x- axis. Also, to improve performance, it is better to create a Standard 'Date' lookup table. This helped to improve performace significanly. 

 

2018 cumulative count by Date2018 cumulative count by Date

View solution in original post

1 REPLY 1
Anonymous
Not applicable

I found solution for this. First of all I should be using Dates instead of months in the dat for x- axis. Also, to improve performance, it is better to create a Standard 'Date' lookup table. This helped to improve performace significanly. 

 

2018 cumulative count by Date2018 cumulative count by Date

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 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.