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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 132 | |
| 88 | |
| 82 | |
| 68 | |
| 64 |