Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Dear all,
Will be very thankful if you could help me to solve three problems related to cumulative amount.
I have calculated the cumulative amount for employees (taking into account the employee Start and End date). Used such formula:
2.The same problem appears in "Card", it shows 21 instead of 11.
Is it possible to somehow modify the formula to get the correct cumulative amount of employees?
3. I also need to show the result in bar charts but again the total amount appears incorrect - 21:
Thank you in advance for help!
Solved! Go to Solution.
Hi @UnknownDev ,
According to your description, you want to show the Employees, Cumulative count value at total for the latest date right?
We can create a measure.
Measure =
var _a=MAXX(ALL('Employees'),[Date])
var _b= CALCULATE([Employees, Cumulative count],FILTER(ALL('Employees'),[Date]=_a))
return IF(ISINSCOPE('Employees'[Date]),[Employees, Cumulative count],_b)
Output result:
If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @UnknownDev ,
According to your description, you want to show the Employees, Cumulative count value at total for the latest date right?
We can create a measure.
Measure =
var _a=MAXX(ALL('Employees'),[Date])
var _b= CALCULATE([Employees, Cumulative count],FILTER(ALL('Employees'),[Date]=_a))
return IF(ISINSCOPE('Employees'[Date]),[Employees, Cumulative count],_b)
Output result:
If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Nobody can help me? 🙂
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
9 | |
7 | |
7 | |
6 |
User | Count |
---|---|
21 | |
11 | |
10 | |
9 | |
8 |