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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors