Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi, I've never understood how to do a distinct count with a group by on a visual that has many fields included the one I want to distinct count. I explain my problem with an example:
I have this visual
1 | 2 | 3 | 4
----------------
A | W | G | K
A | S | G | J
A | C | N | J
B | V | N | K
B | Q | N | J
B | L | I | K
B | D | O | K
I want to do a distinct count of 1 grouping by 3 on column 5 to have this result:
1 | 2 | 3 | 4 | 5
----------------
A | W | G | K | 2
A | S | G | J | 2
A | C | N | J | 1
B | V | N | K | 2
B | Q | N | J | 2
B | L | I | K | 1
B | D | O | K | 1
I tried a formula like this:
1 | 2 | 3 | 4 | 5
----------------
A | W | G | K | 1
A | S | G | J | 1
A | C | N | J | 1
B | V | N | K | 1
B | Q | N | J | 1
B | L | I | K | 1
B | D | O | K | 1
What formula can I use with DISTINCTCOUNT? Thanks
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
47 | |
26 | |
19 | |
14 | |
10 |
User | Count |
---|---|
57 | |
49 | |
44 | |
18 | |
18 |