Forum Discussion
Filter matrix rows using a measure without affecting totals
I have a matrix with a row hierarchy of:
State
City
Facility
Job Family
Job Title
I have a headcount column which is a measure:
Headcount = CALCULATE(
Hi BG919
Can you share a sample of your data and the result you are looking for?
BTW, you can add If statment to show blank when the headcount is less than 5.
Try this:
Headcount = VAR _V = CALCULATE ( COUNTROWS ( 'Dim_Org Structure' ) ) RETURN IF ( _V < 5, BLANK (), _V )If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
2 Replies
- BG919Frequent Visitor
Thanks! I figured it would be something simple, but I was stuck.
- VahidDM
Super User
Hi BG919
Can you share a sample of your data and the result you are looking for?
BTW, you can add If statment to show blank when the headcount is less than 5.
Try this:
Headcount = VAR _V = CALCULATE ( COUNTROWS ( 'Dim_Org Structure' ) ) RETURN IF ( _V < 5, BLANK (), _V )If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!