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
PBIfanatic
Helper V
Helper V

SelectedColumns - error

Hi,
 
I am using the SELECTEDCOLUMNS DAX function to create a table
Table = SELECTCOLUMNS(DimDate, "Test",DimDate[FullDateAlternateKey])
 
This gives me an error - A table of multiple values was supplied where a single value was expected. I chekc the documentation for this and I believe
I have all the correct details?
 
thanks

 

6 REPLIES 6
amitchandak
Super User
Super User

Seems fine. Is this some a formula -DimDate[FullDateAlternateKey] ?

 

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

Hi @amitchandak ,

 

No its a column from the DimDate table. 

 

@PBIfanatic 

Can you share a pbix after removing sensitive information?

I had one doubt you rae creating a measure, not a table, check that

 

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

Hi @amitchandak , I am trying to creating a table not a measure.

 

Hi @PBIfanatic ,

Could you tell me if your problem has been solved? If yes,  welcome to share your own solution. More people will benefit from the thread. If not, please share some sample data and expected results. Then we will understand clearly.

 

Best Regards,

Xue Ding

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @PBIfanatic ,

Can you please share some sample data and a few screenshots? Then we will understand clearly about your situation.

 

 

Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

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

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.