Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more
Good morning guys
I need to create a dax measure for each row of a column of a table dynamically. How to do this?
Observation: I'm doing it like this because I need to describe the values of this dimension in a line chart with the accumulated total. Without creating a measure for each row, I can't show the cumulative total
Thanks is advance
Solved! Go to Solution.
Hi @Anonymous ,
I created some data:
If you want to calculate the cumulative total, you can use the following dax:
Create measure.
accumulated total =
CALCULATE(SUM('Table'[amount]),FILTER(ALL('Table'),'Table'[date]<=MAX('Table'[date])))
Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @Anonymous ,
I created some data:
If you want to calculate the cumulative total, you can use the following dax:
Create measure.
accumulated total =
CALCULATE(SUM('Table'[amount]),FILTER(ALL('Table'),'Table'[date]<=MAX('Table'[date])))
Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
and what about cummulative totals for last year?
@Anonymous Hi!
Can you provide sample data on which to calculate the measure and the result you expect to obtain?
BF
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
17 | |
10 | |
9 | |
8 | |
7 |
User | Count |
---|---|
20 | |
11 | |
8 | |
6 | |
6 |