Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
24 | |
9 | |
7 | |
6 | |
6 |
User | Count |
---|---|
29 | |
11 | |
11 | |
10 | |
6 |