Forum Discussion
Create Groupings for filter
hello,
I am using the below measure to calculate Global Women %:
| VAR LastDateSnap = LASTDATE(Snapshots[Data As Of]) |
| return ROUND((CALCULATE(DISTINCTCOUNTNOBLANK(Snapshots[Associate ID]),Snapshots[Gender]="Female",Snapshots[Data As Of]=LastDateSnap))/(CALCULATE(DISTINCTCOUNTNOBLANK(Snapshots[Associate ID]),Snapshots[Data As Of]=LastDateSnap))+0,3) |
I need be able to filter by certain levels, for example, I have a field named Management Levels, below is a breakout. The issue I am running into, is I need to create groupings, so M4+, M1-M3,P1-P6, Total PME (PME combine), O1-O4, T1-T4, B1-4. Unfortunately, i need to create these specific groupings. I am just confused on how i can create the Total (PME) grouping, so i would need to combine all E values, M values and P values. any ideas?
| Management Levels |
| E1 |
| E2 |
| E3 |
| E4 |
| M1 |
| M2 |
| M3 |
| M4 |
| M5 |
| P1 |
| P2 |
| P3 |
| P4 |
| P5 |
| P6 |
| O1 |
| O2 |
| O3 |
| O4 |
| T1 |
| T2 |
| T3 |
| T4 |
| B1 |
| B2 |
| B3 |
| B4 |
what my groupings need to be:
M4+ (M4,M5, E1-E4)
M1-M3 (M1,M2,M3)
P1-P6 (P1,P2,P3,P4,P5,P6)
Total PME (All E, M and P values)
O1-O4
T1-T4
B1-B4
I think you will need a slicer seleciton and a bridge table that lets merges the levels you are looking for. Take a look at this video to get an idea.
https://www.youtube.com/watch?v=UvvS376vYSw&t=851s&ab_channel=SQLBI
3 Replies
- jdbuchanan71Super User
I think you will need a slicer seleciton and a bridge table that lets merges the levels you are looking for. Take a look at this video to get an idea.
https://www.youtube.com/watch?v=UvvS376vYSw&t=851s&ab_channel=SQLBI- mmills2018Helper IV
Thank you! this is exactly what i neded!
- V-lianl-msftCommunity Support
Hi mmills2018 ,
See if this post helps:
https://community.powerbi.com/t5/Desktop/grouping-measure-results/td-p/456795
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.