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! Learn more

Reply
pezakas
Helper I
Helper I

Measure to not count customer ids at all if they have at least 1 value in a field.

Hello , i have the following 3 tables:

Customer

cst_codecst_id_surrogateFirstNLastN
1151515        MikeJames
1151516        MikeJames
2161617        MariaKallas


Relational

cst_id_surrogateplc_id_surrogate
15151510101
15151610102
16161710103


Policy

plc_IDplc_id_surrogateClass
1000110101Health
1000110102Life
1000210103Health


The requirement is to create a measure that can be used as filter in order to return only they customer who dont have Class = 'Life'
In this specific scenario i expect only cst_code =2 only as a result.

Thanks in advance

3 REPLIES 3
ryan_mayu
Super User
Super User

@pezakas 

create a measure

Measure = CALCULATE(COUNTROWS(Policy),FILTER(Policy,Policy[Class]="Life"))

and add that measure to filter

 

11.PNG

pls see the attachment below

 





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

Proud to be a Super User!




Thank you for your reply, but the requirement describes the capability to return customer_ids WITHOUT having specific values in a field.

sry, not understand, what do you mean return id without having specific values. I think I only displayed customer id





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

Proud to be a Super User!




Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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