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.
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
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 |
---|---|
49 | |
26 | |
20 | |
15 | |
12 |
User | Count |
---|---|
57 | |
49 | |
44 | |
19 | |
18 |