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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
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 Fabric 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!