Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
I have below formula counting the selected criteria.
= CALCULATE(
COUNTROWS(visits),
visits[Status] = "completed",
visits[Maint topic] IN {"visit", "online meeting", "webinar", "joint visit"},
visits[Main Target Group (Regarding)] = "Installer/Contractor"
)
Finally, I would add DISTINCTCOUNTNOBLANK to count unique values. - this is the part that troubles me.
= CALCULATE(
COUNTROWS(visits),
visits[Status] = "completed",
visits[Maint topic] IN {"visit", "online meeting", "webinar", "joint visit"},
visits[Main Target Group (Regarding)] = "Installer/Contractor",
DISTINCTCOUNTNOBLANK(visits[Regarding Account])
)
Solved! Go to Solution.
@Anonymous , What are you trying to achieve in the second?
try like
= CALCULATE(
DISTINCTCOUNTNOBLANK(visits[Regarding Account]),
visits[Status] = "completed",
visits[Maint topic] IN {"visit", "online meeting", "webinar", "joint visit"},
visits[Main Target Group (Regarding)] = "Installer/Contractor"
)
@Anonymous , What are you trying to achieve in the second?
try like
= CALCULATE(
DISTINCTCOUNTNOBLANK(visits[Regarding Account]),
visits[Status] = "completed",
visits[Maint topic] IN {"visit", "online meeting", "webinar", "joint visit"},
visits[Main Target Group (Regarding)] = "Installer/Contractor"
)
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 49 | |
| 40 | |
| 37 | |
| 14 | |
| 14 |
| User | Count |
|---|---|
| 86 | |
| 69 | |
| 37 | |
| 29 | |
| 26 |