cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Cevola
Frequent Visitor

How to categorize a measure

Hi have the following file

Cevola_1-1680029601360.png

 

ID is a direct coloumn.

Score is a measure which is a sum of 7 different measures.

Rank a measure that ranks the Score

Pictures is a measure(No of Pictures a the ID)

 

Combo Score Categories is a measure

Combo Score Categories = if('Table'[Score]>=5,Grp A,
if('Table'[Score]>=4 && 'Table'[Score]<5,Grp B,
if('Table'[Score]>=3 && 'Table'[Score]<4,Grp C,
if('Table'[Score]>=2 && 'Table'[Score]<3,Grp D,
if('Table'[Score]<2,Grp E)))))
 
Now, I am trying to write a measure to give the count for each Grp
eg. Grp A 23
 
Please help
 
1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Cevola , Try out

 

Dynamic Segmentation Bucketing Binning
https://community.powerbi.com/t5/Quick-Measures-Gallery/Dynamic-Segmentation-Bucketing-Binning/m-p/1...


Dynamic Segmentation, Bucketing or Binning: https://youtu.be/CuczXPj0N-k



!! Microsoft Fabric !!
Microsoft Power BI Learning Resources, 2023 !!
Learn Power BI - Full Course with Dec-2022, with Window, Index, Offset, 100+ Topics !!
Did I answer your question? Mark my post as a solution! Appreciate your Kudos !! Proud to be a Super User! !!

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@Cevola , Try out

 

Dynamic Segmentation Bucketing Binning
https://community.powerbi.com/t5/Quick-Measures-Gallery/Dynamic-Segmentation-Bucketing-Binning/m-p/1...


Dynamic Segmentation, Bucketing or Binning: https://youtu.be/CuczXPj0N-k



!! Microsoft Fabric !!
Microsoft Power BI Learning Resources, 2023 !!
Learn Power BI - Full Course with Dec-2022, with Window, Index, Offset, 100+ Topics !!
Did I answer your question? Mark my post as a solution! Appreciate your Kudos !! Proud to be a Super User! !!

Thanks Amit. Exactly what I wanted.

Helpful resources

Announcements
Exciting changes

Power BI Community Changes

Check out the changes to the Power BI Community announced at Build.

May 2023 update

Power BI May 2023 Update

Find out more about the May 2023 update.

Kudo Data Story carousel

Data Stories Gallery

Visit our Data Stories Gallery and give kudos to your favorite Data Stories.

Top Solution Authors