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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. 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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

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.