Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.