Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello,
I would appreciate the help of the community very much.
I am searching for a solution to summarize the values of column Count, but the result in SUM should summarize only the values from the current row backwards. For illustration, please note the line with index number 6.
Thank you very much for taking time and a good day.
Solved! Go to Solution.
Thank you for your quick feedback and your help.
I could implement your solution, but I have got this result.
I have added the code like this:
Did I something wrong?
Thank you for your patience.
@Anonymous strange..
Can you share your file?
Now it works. I have checked the Variable _curr_index and it was always empty. For this reason I have removed the function SELECTEDVALUE.
This are the results:
Here is the code:
Thank you a lot for your help.
@Anonymous
SUM RT =
VAR _curr_index =
SELECTEDVALUE ( Table[Index] )
RETURN
CALCULATE(
SUM(Table[Count],
REMOVEFILTERS(Table),
Table[Index] < = _curr_index
)
Thank you for your quick feedback and your help.
I could implement your solution, but I have got this result.
I have added the code like this:
Did I something wrong?
Thank you for your patience.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
96 | |
77 | |
66 | |
53 |
User | Count |
---|---|
144 | |
105 | |
102 | |
89 | |
63 |