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 use the following measure to show days with Activity on chart and a total in a table by using Date of Service Field.
Count Days with Service Completed Tasks = COUNTROWS(DISTINCT(isiInspections[Date Of Service]))
Date Of Service also has corresponding Activity Column of either onsite, other or remote.
How do I create a Measure to Count the total number of "onsite" activities?
Solved! Go to Solution.
Hi @bdehning - can you try below measure for onsite activies
Count Onsite Days with Service Completed Tasks =
CALCULATE(
COUNTROWS(
DISTINCT(isiInspections[Date Of Service])
),
isiInspections[Activity] = "onsite"
)
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 @bdehning - can you try below measure for onsite activies
Count Onsite Days with Service Completed Tasks =
CALCULATE(
COUNTROWS(
DISTINCT(isiInspections[Date Of Service])
),
isiInspections[Activity] = "onsite"
)
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! | |
Ok that worked great. Now, how do I tweak that measure to only Count number Onsite days when there was 2 or more?
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 |
---|---|
25 | |
12 | |
9 | |
9 | |
9 |
User | Count |
---|---|
21 | |
14 | |
14 | |
13 | |
13 |