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
i have two columns and i want to count how many product id in statmeent without duplicates production with the same id
how i can do that with dax?
Solved! Go to Solution.
thank you 😍
I guess you mean a 3 for the statement id 6
New column =
CALCULATE (
DISTINCTCOUNT ( Table1[Product ID] ),
ALLEXCEPT ( Table1, Table1[statement id] )
)
Please mark the question solved when done and consider giving a thumbs up if posts are helpful.
Contact me privately for support with any larger-scale BI needs, tutoring, etc.
Cheers
Hi @kheira
1. Place Statement ID in a table visual
2. Place this measure in the visual
Measure =
DISTINCTCOUNT( Table1[Product ID])
Please mark the question solved when done and consider giving a thumbs up if posts are helpful.
Contact me privately for support with any larger-scale BI needs, tutoring, etc.
Cheers
thank u
but i want to add new coulmn dax to get the result .. i tried to do dax :
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 19 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 34 | |
| 32 | |
| 20 | |
| 12 | |
| 11 |