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.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
26 | |
10 | |
10 | |
9 | |
6 |