Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi All,
I have a table with a column 'Countries' with few values. This column is used in the filter pane selection as well. I need to create a measure so that whatever countries are selected in the filter pane, value of '1' should be shown beside the selected Country table as shown in the screenshot below.
Solved! Go to Solution.
You can create a measure that uses the SELECTEDVALUE and CONTAINSROW functions to check whether the selected countries match with the countries in the table, and return a value of 1 if they match. Here's an example measure:
This measure will return a value of 1 for the selected countries in the filter pane, and a blank value for the unselected countries. You can add this measure to a table visual along with the Countries column to see the results.
Hope this helps:
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.