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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
jeyare
Helper II
Helper II

SELECTEDVALUE works in Chart but doesn't work in Table

Hi there,

I'm stuck somewhere, and I can't find the cause.

 

Background:

1. Table with the name "Population Switch" with a single column "Pop Switch" and two records

    Slicer with Field to the "Pop Switch" column

    The Slicer works as expected. Tested with Card Chart = it shows just the selected value.

2. Second Table. I need to use SELECTEDVALUE to test the "Pop Switch" value from the Slicer selection:

VAR _SelectSwitch = SELECTEDVALUE('Population Switch'[Pop Switch])
 It returns "ERROR":

"A table of multiple values was supplied where a single value was expected."

 

Tests A.:

I created a Measure:

SELECTEDVALUE('Population Switch'[Pop Switch])
Works as expected. The Card Chart shows just the selected value.
but
when I use SELECTEDVALUE with the Measure within the "Second Table" I got the same ERROR:
"A table of multiple values was supplied where a single value was expected."
 

Tests B.:

The Second table, New Column:

VALUES('Population Switch'[Pop Switch])
I got the same ERROR:
"A table of multiple values was supplied where a single value was expected."
 

I'm stuck somewhere, and I can't find the cause.
Thanks for your help,

J.

1 REPLY 1
amitchandak
Super User
Super User

@jeyare , you can not use selected values from a slicer in a table

 

way to create a table is

 

new table = values(Table[Column])

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors