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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.