This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hi, all dogs in my kennel need to have the Parvo, Rabies, and Distemper vaccinations. The Dog_Name column is all of the dogs currently in the kennels. The Requirements column is the vaccination the dog has got. What measure will show me:
Toby = missing Distemper
Spot = not missing any
Max = missing Rabies and Parvo
I really only need to show them as numbers, so in this scenario each vaccination has 1 dog missing it.
| Dog_Name | Requirements |
| Toby | Parvo |
| Spot | Parvo |
| Toby | Rabies |
| Spot | Rabies |
| Max | Distemper |
| Spot | Distemper |
Thanks!
Solved! Go to Solution.
Hi,
PBI file attached.
Hope this helps.
Hi @Ashish_Mathur , thanks for your reply.
How could I arrange this so the Vaccines are in the left column and the number of missing rows are in the right column like the photo below, please? When I do this it changes the values to 0.
Thanks
Hi @RichOB
Create a relate dimensions table for the requirements and then try the following measure:
Missing Vaccine =
SUMX (
SUMMARIZECOLUMNS (
'Table'[Dog_Name],
Requirements[Requirements],
"@count",
CALCULATE (
COUNTROWS ( Requirements ),
KEEPFILTERS (
NOT Requirements[Requirements] IN VALUES ( 'Table'[Requirements] )
)
)
),
[@count]
)
Please see the attached pbix for the details.
Create a table with the required vaccinations:
Vaccinations = {"Parvo", "Rabies", "Distemper"}
Create the measure
Missing Vaccinations =
VAR RequiredVaccinations = {"Parvo", "Rabies", "Distemper"}
VAR DogVaccinations = DISTINCT('Table'[Requirements])
VAR MissingVaccinations = EXCEPT(RequiredVaccinations, DogVaccinations)
RETURN COUNTROWS(MissingVaccinations)
hi @Kedar_Pande Thanks for your reply. How can this count the blank spaces per vaccine? It's the number of outstanding vaccines I need to know. Thanks
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 30 | |
| 24 | |
| 23 | |
| 17 | |
| 15 |
| User | Count |
|---|---|
| 63 | |
| 36 | |
| 30 | |
| 22 | |
| 22 |