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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

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
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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