Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
I have a variable within a measure that returns a comma separated string, e.g., "No,Yes,Yes,N/A,No"
Using this variable, I'm trying to make the measure display the string 'Yes' if there are only Yes values, 'No' if there are only No values, 'Both' if there are both values, and 'N/A' if there are no values or if it's N/A.
I've tried using both the SUBSTITUTE and the CONTAINSSTRINGEXACT functions but it does not seem to be doing what I was hoping for.
Thank you.
Hi,
Share some data to work with and show the expected result.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.