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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
bhalicki
Helper III
Helper III

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 III
Helper III

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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