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
Hello all gurus, I am new to PowerBI and need some help!
I have a database like below:
I need some help to figure out a DAX for this logic: if a customer_id was identified as an "NSU Customer", then that customer_id is a customer regardless of their charge_plan.
So eventually I want to get to a table like this:
Appreciated any advice,
Solved! Go to Solution.
Hi @Anonymous ,
Try this one as a measure, please.
Measure = IF ( "NSU Customer" IN CALCULATETABLE ( VALUES ( 'table1'[NSU plan group] ), ALLEXCEPT ( 'table1', 'table1'[customer_id] ) ), "Customer", "Not Customer" )
Best Regards,
Hi @Anonymous ,
Try this one as a measure, please.
Measure = IF ( "NSU Customer" IN CALCULATETABLE ( VALUES ( 'table1'[NSU plan group] ), ALLEXCEPT ( 'table1', 'table1'[customer_id] ) ), "Customer", "Not Customer" )
Best Regards,
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 57 | |
| 45 | |
| 42 | |
| 20 | |
| 18 |