The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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
User | Count |
---|---|
25 | |
10 | |
8 | |
7 | |
6 |
User | Count |
---|---|
32 | |
12 | |
10 | |
10 | |
9 |