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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
I have a table,
| Network Name | Office Name | Status |
| A | O1 | C |
| A | O1 | C |
| A | O2 | C |
| A | O6 | NC |
| A | O3 | C |
| B | O4 | C |
| B | O5 | NC |
| C | O7 | C |
| D | O8 | NC |
Now I wanted to add a new column called result which has the count of unique office in a network that has status C.
The output table should look like,
| Network Name | Office Name | Status | Result |
| A | O1 | C | 3 |
| A | O1 | C | 3 |
| A | O2 | C | 3 |
| A | O6 | NC | 3 |
| A | O3 | C | 3 |
| B | O4 | C | 1 |
| B | O5 | NC | 1 |
| C | O7 | C | 1 |
| D | O8 | NC | 0 |
Please help me with this query.
Solved! Go to Solution.
Hey @Anonymous ,
Try :
Hey @Anonymous ,
Try :
Perfect... Thank you
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 64 | |
| 56 | |
| 43 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 123 | |
| 108 | |
| 44 | |
| 32 | |
| 24 |