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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Anonymous
Not applicable

how to recall values from a column with a measure or calculated column

Hi, I want to create a measure or calculated column (I don't know what is needed between these two) that displays me all the values of a given column in a table or other chart. How can I write this function?
I have created this measure
sales = selectcolumns(ART, ART[vend]) but if I try to put this measure in the table, no value is displayed.

How can I fix this?
thanks!

This is because I imported the tables with direct query, but I want to divide certain columns and measures into categories. And the 'only way to do that, is to create calculated measures or columns and put them in folders/categories.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,
Here some steps that I want to share, you can check them if they suitable for your requirement.
Here is my test data:

vheqmsft_0-1715672125417.png

Chage the measure like this

Measure = SELECTCOLUMNS('Table',"Part",SELECTEDVALUE('Table'[Part]))

Final output

vheqmsft_1-1715672161178.png
You can refer to this document

SELECTCOLUMNS function (DAX) - DAX | Microsoft Learn

 

Best regards,
Albert He

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

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous ,
Here some steps that I want to share, you can check them if they suitable for your requirement.
Here is my test data:

vheqmsft_0-1715672125417.png

Chage the measure like this

Measure = SELECTCOLUMNS('Table',"Part",SELECTEDVALUE('Table'[Part]))

Final output

vheqmsft_1-1715672161178.png
You can refer to this document

SELECTCOLUMNS function (DAX) - DAX | Microsoft Learn

 

Best regards,
Albert He

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

AngeloParana
Resolver I
Resolver I

You cannot store a multiple values in a single cell. The way to do it is do a ConcatenateX function

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Solution Authors
Top Kudoed Authors