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.
Hi everyone
I have a question that I think should be easy but I can't solve it
I have the following table
Id Center State Person
--------- ----- --------
1 1 P1
1 1 P2
1 2 P3
1 3 P4
1 3 P5
I wanted to show for "center 1", how many times appears "state 1", "state 2", ......
that is to say
"Center Id" "State 1" "State 2" "State 3"
-----------------------------------------
1 2 1 2
How can I solve it?
Thanks in advance
User | Count |
---|---|
28 | |
10 | |
8 | |
6 | |
5 |
User | Count |
---|---|
33 | |
13 | |
12 | |
9 | |
7 |