Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
| ID | Column A | Column B |
| 1 | 10 | Document |
| 1 | 10 | Document |
| 2 | 12 | Solution |
| 2 | 12 | Solution |
| 2 | 12 | Solution |
| 3 | 20 | Document |
| 3 | 20 | Document |
| 3 | 20 | Document |
My table has duplicates.
how do I sum values in column A, for a "Document" in column B ?
So, the formula returns 30.
also, looking to count distinct ID's for "document". Formula returns 2.
Solved! Go to Solution.
Hi @alienout
For sum please use a measure :
For count:
Pbix is attached
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
Hi,
PBI file attached.
Hope this helps.
You are welcome.
Hi @alienout
For sum please use a measure :
For count:
Pbix is attached
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 50 | |
| 40 | |
| 37 | |
| 14 | |
| 14 |
| User | Count |
|---|---|
| 86 | |
| 69 | |
| 37 | |
| 29 | |
| 26 |