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
Hi there,
I'm trying to add to a visualisation staff with multiple devices. I want to be able to only staff that have both a mobile phone AND phone extension. The information for whether or not they have that service are all listed as separate entries under a column "Service" and their names under "Staff Name". Hopefully that's enough info otherwise can try an post a sample data set. Thanks
Solved! Go to Solution.
Number of Equipment =
var _Staff =PhoneTable[Staff]
var _calc = CALCULATE(COUNTROWS(PhoneTable),FILTER(ALL(PhoneTable),PhoneTable[Staff]=_Staff))
Return If (_calc <>1,"Both","One Only")
Proud to be a Super User!
Hi @Anonymous
Please try this:
Let me know if you have any questions.
If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos 👍are nice too.
Nathaniel
Proud to be a Super User!
Number of Equipment =
var _Staff =PhoneTable[Staff]
var _calc = CALCULATE(COUNTROWS(PhoneTable),FILTER(ALL(PhoneTable),PhoneTable[Staff]=_Staff))
Return If (_calc <>1,"Both","One Only")
Proud to be a Super User!
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 19 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 31 | |
| 31 | |
| 20 | |
| 12 | |
| 12 |