The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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 |
---|---|
83 | |
83 | |
37 | |
34 | |
32 |
User | Count |
---|---|
92 | |
79 | |
62 | |
53 | |
51 |