Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
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
User | Count |
---|---|
131 | |
71 | |
70 | |
58 | |
54 |
User | Count |
---|---|
194 | |
95 | |
65 | |
62 | |
53 |