The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi,
Im trying to create a measure to replace specific values in a visual table with N/A where not applicable.
I can get the code to work for one row (351), but I dont know how to put multiple values in the contains?
Could somebody please help?
My code is below.
Solved! Go to Solution.
Try this
Try this
Thanks @Anonymous
That worked perfectly. The + 0 fills in my blanks with zeros,
Hi @Anonymous ,
You can use something like this as follows:
CONTAINS(InternetSales, [ProductKey], 214, [CustomerKey], 11185)
Refer following link:
https://docs.microsoft.com/en-us/dax/contains-function-dax
If this helps please give Kudos and mark it as a Solution! 🙂
Thanks,
Pragati
User | Count |
---|---|
26 | |
10 | |
8 | |
6 | |
6 |
User | Count |
---|---|
31 | |
10 | |
10 | |
10 | |
9 |