Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
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 @wcsilveira ,
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 @wcsilveira ,
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?
@wcsilveira Hi!
Can you provide sample data on which to calculate the measure and the result you expect to obtain?
BF
User | Count |
---|---|
70 | |
43 | |
21 | |
21 | |
14 |
User | Count |
---|---|
124 | |
42 | |
39 | |
28 | |
24 |