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
steviehwkns
Frequent Visitor

How to create a measure that will filter to different options

Hi All,

 

I have created the below measure to catergorise different values;

 

Level = IF(MIN('Table1'[FTE Pay])>=MIN(TierTable[High]),"Above High",IF(MIN('Table1'[FTE Pay])>=MIN(TierTable[Mid]),"Above Mid & Below High",IF(MIN('Table1)>=MIN(TierTable[Entry]),"Above Entry & Below Mid","Below Entry")))
 
but i need the measure to calculate the number of employees that fall into each category. There is a many to many relationship between the tiertable and table1. This is the kind of result i desire;
GradeTierCategoryEmployeeCount
A1Above High15
A1Below Entry12
A1Above Entry & Below Mid3
A2Above High18
A2Below Entry12

The current measure is returning something like this;
GradeTierCategoryEmployeeCount
A1Above Entry30
 
Thank you
 
4 REPLIES 4
v-kelly-msft
Community Support
Community Support

Hi  @steviehwkns ,

 

Is your issue solved now?

 

Best Regards,
Kelly

Did I answer your question? Mark my reply as a solution!

v-kelly-msft
Community Support
Community Support

Hi  @steviehwkns ,

 

Have you checked my reply?

 

Best Regards,
Kelly

Did I answer your question? Mark my reply as a solution!

v-kelly-msft
Community Support
Community Support

Hi  @steviehwkns,

 

I have solved a similar issue before,could you pls share your sample with your formular and expected output for test?

Remember to remove the confidential information.

 

Best Regards,
Kelly

Did I answer your question? Mark my reply as a solution!

lbendlin
Super User
Super User

Please provide sample data and show the data model.

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.