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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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?
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 5 | |
| 5 | |
| 4 | |
| 4 | |
| 2 |
| User | Count |
|---|---|
| 12 | |
| 10 | |
| 8 | |
| 7 | |
| 7 |