Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Count number of entities filtered by a measure

Hi everyone,

 

I need some help for a little measure.

I want to calculate the number of ill entities.

An entity is ill if it got a value > 0 during 3 months in a row.

I did a measure that determines if an entity is sick, but I don't succeed in determining the global number, or the number according to some parameters (like sexe, age...).

I tried to do it by filtering my fact table with my measure but I think I didn't make it well because that didn't work (That's why I'm there :))

 

Thank you in advance,

 

(By the way, don't hesitate to correct my english errors, I'm doing my best but I'm pretty sure that's burning english eyes 😕 )

2 REPLIES 2
Nathaniel_C
Super User
Super User

@Anonymous ,

It would be helpful to supply us with your pbix, or at the very least some dummied up tables from Excel showing us what you have and also what you want the result to be. 

Please read this post to get your question answered more quickly:

https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

 

Thanks,

Nathaniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Anonymous
Not applicable

Ok, I explain :

This is an exemple of my fact table.

Capture4.PNG

I already did a measure that say me if a Client is ill.

He's ill if he have a sickness rate >= 20% 3 months in a row.

Now, I want a measure that give me the number of clients ill by group, but I don't succeed in doing that measure.

 

Thanks,

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors