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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
YR23
Regular Visitor

Create a measure that returns all the values from a column

Hey, I need some help with this:

I want to create a measure that returns all the values from a column, is that possible? I don't want to use min, max because they only return one value. In this case the measure should return all the values from the Package column, thank you.

 

OrderPackage
ABC1LM21
ABC1LM22
ABC1LM23
ABC2LM24
ABC3LM25
ABC4LM26
1 ACCEPTED SOLUTION
v-stephen-msft
Community Support
Community Support

Hi @YR23 ,

 

This is a characteristic of the measure, which returns the calculation of the current row based on the context.

vstephenmsft_1-1673493607148.png

You should use calculated column instead of measure. 

vstephenmsft_0-1673501990614.png

vstephenmsft_1-1673502006350.png

If you still insist on using a measure, it's suggested to add a column, such as an indexed column, to augment the context filter for the visual. You can add an index column in Power Query.

vstephenmsft_2-1673502142836.png

 

 

Best Regards,

Stephen Tao

 

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
v-stephen-msft
Community Support
Community Support

Hi @YR23 ,

 

This is a characteristic of the measure, which returns the calculation of the current row based on the context.

vstephenmsft_1-1673493607148.png

You should use calculated column instead of measure. 

vstephenmsft_0-1673501990614.png

vstephenmsft_1-1673502006350.png

If you still insist on using a measure, it's suggested to add a column, such as an indexed column, to augment the context filter for the visual. You can add an index column in Power Query.

vstephenmsft_2-1673502142836.png

 

 

Best Regards,

Stephen Tao

 

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

JadhavVarsha_13
Resolver II
Resolver II

JadhavVarsha_13_0-1673457452439.png

Can you see this option

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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