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.
Hello everyone,
I have the next graph and i want to have on the cumul wasted time and cumulative claimed hours the sum of previous values.
for example: for the blue line i want to have 12 as value, not 5.
Any ideas how i can do that? I try with some filters and things but don't work.
Thank you in advance for help.
Br,
S.
Solved! Go to Solution.
Hi @stefan2297 ,
According to your description, here are my steps you can follow as a solution.
(1) This is my test data.
(2) We can create a measure.
Measure = SWITCH(TRUE(),
MAX('Table'[type]) in {"cumul wasted time per detection date","cumulative claimed hours"},CALCULATE(SUM('Table'[value]),FILTER(ALLSELECTED('Table'),'Table'[type]=MAX('Table'[type]) && 'Table'[date]<=MAX('Table'[date]))),
MAX('Table'[type])="running balance",MAX('Table'[value]))
(3) Then the result is as follows.
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 @stefan2297 ,
According to your description, here are my steps you can follow as a solution.
(1) This is my test data.
(2) We can create a measure.
Measure = SWITCH(TRUE(),
MAX('Table'[type]) in {"cumul wasted time per detection date","cumulative claimed hours"},CALCULATE(SUM('Table'[value]),FILTER(ALLSELECTED('Table'),'Table'[type]=MAX('Table'[type]) && 'Table'[date]<=MAX('Table'[date]))),
MAX('Table'[type])="running balance",MAX('Table'[value]))
(3) Then the result is as follows.
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.
User | Count |
---|---|
86 | |
84 | |
69 | |
67 | |
55 |
User | Count |
---|---|
125 | |
100 | |
90 | |
84 | |
66 |