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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi everyone,
I have a table with transactions, users, and transactions type...The idea is count the unique users by transactions type.....Someone can help me please?
| Table 1 | Table 2 | ? | |||
| Transaction ID | User ID | Transaction Type | Transaction Type | Count Unique User ID | |
| 1 | U1 | A | Only A | 1 | |
| 2 | U2 | B | Only B | 1 | |
| 3 | U3 | A | A and B | 2 | |
| 4 | U1 | B | Total | 4 | |
| 5 | U2 | A | |||
| 6 | U4 | B |
Many thanks
Rui
Solved! Go to Solution.
Hi @Anonymous ,
Just create a calculated column to group the users and count them using distinct.
Did I answer your question? Mark my post as a solution!
Ricardo
works perfectly, thanks
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 19 | |
| 10 | |
| 9 | |
| 7 | |
| 6 |