Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
Anonymous
Not applicable

Cumilative amount table

Hello hope you are doing well.

 

I would like to have a cumilative percentage  to show cumilatively, how many percentage of the total applications.

 

So basically, in the screen shot.  I would like to have  cumilative value.  The Channel Source IDs are random, I just clicked"Larger to Small" sign so they are sorted from large to small. Do you know how i can do it? 

 

I need to Sort them by Large to Small and show the cumilative value.

 

Thanks

 

 

Ahmet_Oz_0-1611328679652.png

 

1 ACCEPTED SOLUTION
v-yuaj-msft
Community Support
Community Support

Hi @Anonymous ,

Based on your description, you can create two columns as follows.

Rank = RANKX('Sheet3','Sheet3'[Applications],,DESC)
Cumulative_applications = SUMX(FILTER(ALL('Sheet3'),[Rank]<=EARLIER('Sheet3'[Rank])),'Sheet3'[Applications])/CALCULATE(SUM('Sheet3'[Applications]),ALL('Sheet3'))

 

Result:

 

v-yuaj-msft_0-1611556419949.png

Hope that's what you were looking for.

Best Regards,

Yuna

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-yuaj-msft
Community Support
Community Support

Hi @Anonymous ,

Based on your description, you can create two columns as follows.

Rank = RANKX('Sheet3','Sheet3'[Applications],,DESC)
Cumulative_applications = SUMX(FILTER(ALL('Sheet3'),[Rank]<=EARLIER('Sheet3'[Rank])),'Sheet3'[Applications])/CALCULATE(SUM('Sheet3'[Applications]),ALL('Sheet3'))

 

Result:

 

v-yuaj-msft_0-1611556419949.png

Hope that's what you were looking for.

Best Regards,

Yuna

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@Anonymous , Create a new measure like

Divide(calculate(Sum(Table[application]), filter(allselected(Table), Table[channel_source_id] <= max(Table[channel_source_id]))), calculate(Sum(Table[application]),allselected(Table)))

 

or

 

Divide(calculate(Sum(Table[application]), filter(allselected(Table), Table[application] <= max(Table[application]))), calculate(Sum(Table[application]),allselected(Table)))

Anonymous
Not applicable

Hello @amitchandak , first of all thank you for your initial help.

 

However i would like to have a cumilative 'by the sort of APPLICATION value' not the source ID.

 

So basıcally for example in this visual.

Ahmet_Oz_0-1611333448922.png

 

First Measure value should be = 896,260

Second measure value should be =1591,945 (896,260 + 695,685)

 

I NEED TO SORT ''APPLICATION NUMBERs' from Large to Small, and make them show cumilatively. 

 

 Can we do somethıng with that? 

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.