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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Count within a group ?

CMNaam
ShowJan
No Show No Messageklaas
No Show With Message Jan
No Show No MessageJan
No Show No MessageJan
No Show No MessageKlaas
No Show With Message Jan
No Show With Message Klaas



I would like to count the number of "No Show No Message"  but only if "Show" doesnt exist for that user (for a selected period)

 

So the result of my measure would be: 2

( The 2 "No Show No Message" from Klaas, Jan isnt counted because he has an "Show"



3 REPLIES 3
v-xicai
Community Support
Community Support

Hi @Anonymous ,

 

You can create measure like DAX below.

 

Measure1= CALCULATE(COUNT(Table1[CM]),FILTER(ALLSELECTED(Table1), Table1[Naam] =MAX(Table1[Naam])&&Table1[CM]= "No Show No Message"))

 

Best Regards,

Amy

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Anonymous
Not applicable

Thanks for your reply.

 

But how do you account for the "Show" and the user(Naam) 

I any user(naam) has a "show" doesnt somewhere in the selected period the "No Show No message" should not count

Hi @Anonymous ,

 

I am not sure what desired result would you want, could you please share your sample data or desired output screenshots for further analysis? You can also upload sample pbix to OneDrive and post the link here. Do mask sensitive data before uploading.

 

Best Regards,

Amy

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors