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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
In PowerBi I have a table which is a export from Microsoft Entra of all devices that are in the database, device name, operating system, asigned user etc.
I have a forumla I have created which works ok to give me a column of how many devices each user name appears against:-
UserWindowsDevicesCount = calculate(
COUNTROWS(EntraDeviceReport),
ALLEXCEPT(EntraDeviceReport, EntraDeviceReport[Owners]))
I have realised its reporting all devices and not just Windows devices that I want for this report.
So I tried to add an additional filter, but its not working, it just gives a total number of Windows devices in the list and not per user (owner).
Solved! Go to Solution.
Hi @Blue407 - We can directly add the filter in the measure, not require filter function again, and modify your formula to count only the Windows devices per user
UserWindowsDevicesCount = CALCULATE(
COUNTROWS(EntraDeviceReport),
EntraDeviceReport[Operating System] = "Windows",
ALLEXCEPT(EntraDeviceReport, EntraDeviceReport[Owners])
)
Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!
Proud to be a Super User! | |
Hi @Blue407 - We can directly add the filter in the measure, not require filter function again, and modify your formula to count only the Windows devices per user
UserWindowsDevicesCount = CALCULATE(
COUNTROWS(EntraDeviceReport),
EntraDeviceReport[Operating System] = "Windows",
ALLEXCEPT(EntraDeviceReport, EntraDeviceReport[Owners])
)
Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!
Proud to be a Super User! | |
Thats perfect, thankyou for such a fast response 🙂 🙂
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 |
|---|---|
| 11 | |
| 9 | |
| 9 | |
| 6 | |
| 5 |
| User | Count |
|---|---|
| 27 | |
| 22 | |
| 19 | |
| 17 | |
| 11 |