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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
bhalicki
Helper V
Helper V

CONCATENATEX in a measure

Hi all,

I have the following tables and relationships:

bhalicki_0-1698959765261.png

bhalicki_2-1698959808273.png

 

bhalicki_3-1698959817793.png

 

bhalicki_4-1698959836836.png

 

I need a measure that allows me to produce the following output, that isn't affected by slicers:

bhalicki_5-1698959898123.png

 

I have been able to use CONCATENATEX as a calculated column (to give the output above), but I need this as a measure.  When I implement as a measure, I cannot work out how to ignore the slicer filter but keep the current filter context.

For example, the diagram below demonstrates that when the resource is filtered to "Bob", the project also shows just "Bob" instead of "Fred, Bob"

bhalicki_6-1698960083123.png

Thanks in advance 🙂

 

1 ACCEPTED SOLUTION
AlexisOlson
Super User
Super User

You can use ALL to ignore the slicer filter context (along with any other filter context on that column).

 

Resources =
CALCULATE (
    CONCATENATEX (
        SUMMARIZE ( ResourceAllocation, Resource[ResourceName] ),
        Resource[ResourceName],
        ", "
    ),
    ALL ( Resource[ResourceName] )
)

 

AlexisOlson_0-1698961932859.png

View solution in original post

2 REPLIES 2
bhalicki
Helper V
Helper V

Thank you @AlexisOlson , that is perfect! Much appreciated 🙂

AlexisOlson
Super User
Super User

You can use ALL to ignore the slicer filter context (along with any other filter context on that column).

 

Resources =
CALCULATE (
    CONCATENATEX (
        SUMMARIZE ( ResourceAllocation, Resource[ResourceName] ),
        Resource[ResourceName],
        ", "
    ),
    ALL ( Resource[ResourceName] )
)

 

AlexisOlson_0-1698961932859.png

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.