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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.