Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
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,
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 44 | |
| 43 | |
| 38 | |
| 18 | |
| 16 |
| User | Count |
|---|---|
| 67 | |
| 63 | |
| 30 | |
| 30 | |
| 23 |