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

Need summarize last column

Hello!

I have a chart like:

bogachev_0-1604255714972.png

I want to do it like (for example summarize 20% of lowest numbers):

bogachev_1-1604255731351.png

Can't understand how to write measure for it 😞

Thank you!

 

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

Hi @Anonymous ,

 

Based on your description, you can create a Cumulative events column as follows.

 

calculated events =

SUMX(

    FILTER('table','table'[Value]>= EARLIER('table'[Value])),

    'table'[Value]

)

 

Gategory =

var

cal_percent=DIVIDE('table'[calculated events],SUM('table'[Value]))

return

IF(

    cal_percent> 0.85,"Others",'table'[Devoke]

)

 

 

Result:

v-yuaj-msft_0-1604483030632.gif

 

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 a Cumulative events column as follows.

 

calculated events =

SUMX(

    FILTER('table','table'[Value]>= EARLIER('table'[Value])),

    'table'[Value]

)

 

Gategory =

var

cal_percent=DIVIDE('table'[calculated events],SUM('table'[Value]))

return

IF(

    cal_percent> 0.85,"Others",'table'[Devoke]

)

 

 

Result:

v-yuaj-msft_0-1604483030632.gif

 

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

Well, I guess you could just use the group feature. I'm not at my pc, but from memory, you multi select the ones you want to group, right click and select "group", or something like that. Easy, but this won't be dynamic. 



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.

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.