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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors