Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
22 | |
7 | |
6 | |
6 | |
6 |
User | Count |
---|---|
27 | |
12 | |
10 | |
9 | |
6 |