Forum Discussion
Running Sum based on rank
- 5 years ago
Hi,
Try this measure
=SUMX(TOPN([Rank],CALCULATETABLE(VALUES(Data[Name]),ALL(Data[Name])),[Rank],1),[Duration (mins) - ALL])
- 5 years ago
Hi kumsha1 ,
Please try the measure like following screenshot.
If it doesn’t meet your requirement, could you please provide a mockup sample based on fake data or describe the fields of each tables?
It will be helpful if you can show us the exact expected result based on the tables.
Please upload your files to OneDrive For Business and share the link here. Please don't contain any Confidential Information or Real data in your reply.
Best regards,
Community Support Team _ zhenbw
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
BTW, pbix as attached.
Both measures worked for my requirement, thanks Ashish_Mathur and v-zhenbw-msft
=SUMX(TOPN([Rank],CALCULATETABLE(VALUES(Data[Name]),ALL(Data[Name])),[Rank],1),[Duration (mins) - ALL])
- Ashish_Mathur5 years agoSuper User
You are welcome.