The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hello All,
I am looking for a dax to calculate cummulative value in power bi as given in excel by client.
we are reffering the first screenshot of excel, and we have already applied ordering as well into our dataset, but i am not able to get the sum of above 'TSO' into below ABM.
for example the sum for first 5 TSO should come into below ABM and so on.
the first highlighted columns are for ordering and the second one is the root based on which we want cumulative.
all the TSO are defined as 0, ABM as 1 and RM as 2.
Thanks in advance
Solved! Go to Solution.
@Virpalsinh , Usually with help from a date table you can have cumulative
Cumm Sales = CALCULATE(SUM(Sales[Sales Amount]),filter(all('Date'),'Date'[date] <=max('Date'[date])))
Running Total/ Cumulative: https://www.youtube.com/watch?v=h2wsO332LUo&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=41
If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
@Virpalsinh , Usually with help from a date table you can have cumulative
Cumm Sales = CALCULATE(SUM(Sales[Sales Amount]),filter(all('Date'),'Date'[date] <=max('Date'[date])))
Running Total/ Cumulative: https://www.youtube.com/watch?v=h2wsO332LUo&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=41
If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
123 | |
85 | |
76 | |
55 | |
49 |
User | Count |
---|---|
135 | |
127 | |
78 | |
64 | |
63 |