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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
SAENDEY
Regular Visitor

Cummulative Formula Not Dynamic

Hello PowerBI Community! 

 

Im totally new to this application, however i have tried to make a report for my project from scratch.

I have watched a couple of Youtube tutorials, but the Cummulative axis doesnt seem to work for me, as i want it.

SAENDEY_0-1688160987527.png

The Measure looks like this: 

SAENDEY_1-1688161114160.png

I have a lot of slicers as you can see, and i want it to be as dynamic as possible. Means if i press one of the filters, then it would calculate the cummulative of the selected option, and not the whole project as it does right now.

Im not sure if i explained this good enough, im a real noobie.

Would really appreciate any help!

 

Just an example of when i press one of the filter options: 

SAENDEY_2-1688161350242.png

 

Saendey

4 REPLIES 4
Shalabh_Kushwah
Frequent Visitor

Hi SAENDEY - sure, you can connect me through Microsoft Teams (shalabh.kushwaha@outlook.com)

 

Happy to help !

 

 

Ashish_Mathur
Super User
Super User

Hi,

Create a Date Table with calculated column formulas for Year, Month name and Month number.  Sort the Month name column by the Month number.  To the X-axis of your visual, drag Year and Month name from the Calendar Table.  Write these measures

Total = sum(Data[sale])

Total YTD = calculate([Total],datesytd('calendar'[date],"31/12"))

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Shalabh_Kushwah
Frequent Visitor

hi - This can we achieved through 2 ways.

 

1. Through Data Modeling: Get Primary Key in your data tables. Detected the Relationship between the dimension table from where you are using Slicers and relate with the Factual Table from where you are creating KPIs.

 

2. Through Measures: Use Selected Value DAX function to get it done through Measures.

 

I will recommend 1st option as this is a good version of accomplishing it.

You can connect me personally to get help in this.

Thanks and Regards

Shalabh Kushwaha

+919454996527 

Hi Shalabh Kushwaha!

 

Thank you very much for your reply.

Im not sure if i understood this correct. Is it possible to contact you on a platform where i can share my screen and explain my problem?

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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