Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Need help with this Measure!

This is the measure I am using to fetch regions from DMT_GEOGRAPHY_POD_MAPPING table based on selection of DMT_FCT_SALES_TARGET[LEVEL_DETAILS]

Inder007_0-1727429191893.png

There no connection between both the tables as of now. So, Each Level Details in DMT_FCT_SALES_TARGET[LEVEL_DETAILS] can either contain a single Region /contain a POD_Code "GCP5" which maps to multiple regions in DMT_GEOGRAPHY_POD_MAPPING table (below is the snip of DMT_GEOGRAPHY_POD_MAPPING table). The Value colun contains region as well as POD_Codes, I seek regione-copy value.

Inder007_1-1727429367386.png

The created measure returns the region for level details containing region but it fails when i select a POD_CD from same slicer.

Inder007_2-1727429453824.pngInder007_3-1727429470122.png

The error I see is "a table of multiple values is supplied where a single value is selected". Please advice on how to get a single column table when a POD_Code is selected in slicer. Below is the snip of DMT_FCT_SALES_TARGET:

Inder007_0-1727430288437.png

Please advice 🙂

2 REPLIES 2
dharmendars007
Memorable Member
Memorable Member

Hello @Anonymous , 

 

If i have understood your query I think you are trying to showing values if the selected value is not present if that so you can pass any text to the condition like the below.

 

SelectedPOD = SELECTEDVALUE('DMT_GEOGRAPHY_POD_MAPPING'[POD_CD], "No POD selected")

 

If you find this helpful , please mark it as solution which will be helpful for others and Your Kudos/Likes are much appreciated!

 

Thank You

Dharmendar S

LinkedIN 

HotChilli
Community Champion
Community Champion

I don't understand the problem description, however, what I can say is SELECTCOLUMNS returns a table and you can't return a table from a measure. It must be a scalar value.

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors