Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
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"
)
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
82 | |
81 | |
52 | |
39 | |
35 |
User | Count |
---|---|
95 | |
79 | |
52 | |
49 | |
47 |