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.
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,
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
100 | |
80 | |
64 | |
57 |
User | Count |
---|---|
145 | |
111 | |
92 | |
84 | |
66 |