Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
I have a table of employees - Emp ID, Emp Name, Dept ID. I created two measures:
- Emp Count = count(Emp ID)
- Count Group = if(Emp Count < 10, "10 and below", "Over 10")
Can I create the table visual below without creating a table:
Count Group | # of Depts |
10 and below | 7 |
Over 10 | 1 |
Solved! Go to Solution.
Hi,
Here is one way to this:
data:
Dax:
You can add unichar 10 for linebreak:
Proud to be a Super User!
Hope it helps
GROUP BY Count Group = SWITCH(TRUE(),
[# of Depts] <= 10, "10 and below",
[# of Depts] > 10, "Over 10"
)
If i understand your requiement correctly
Thank you
Hi,
Here is one way to this:
data:
Dax:
You can add unichar 10 for linebreak:
Proud to be a Super User!
Thank you