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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply

IN Operator and Values : A table of multiple values was supplied where a single value was expected

Hi Folks,
 
When I use the below formula I get this error "A table of multiple values was supplied where a single value was expected"
 
Top 5 Stores Sales Records = FILTER('Sales Fact',
RELATED('Store Dim'[Store Name]) IN {VALUES('Top 5 Stores'[Store Name])})
 
Top 5 Stores is a calculated table.
 
Any idea why this is happening? I belive IN should work here, if you can suggest any alternative to IN to filter multiple values that would be great.
 
Regards
Vikrant
1 ACCEPTED SOLUTION
dedelman_clng
Community Champion
Community Champion

Hi @vikrantarora25  - remove the { } from around VALUES and it should work for you. 

 

See this for more about the IN operator https://www.sqlbi.com/articles/the-in-operator-in-dax/ 

 

Hope this helps

David

View solution in original post

1 REPLY 1
dedelman_clng
Community Champion
Community Champion

Hi @vikrantarora25  - remove the { } from around VALUES and it should work for you. 

 

See this for more about the IN operator https://www.sqlbi.com/articles/the-in-operator-in-dax/ 

 

Hope this helps

David

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.