The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hi all,
I have the following tables and relationships:
I need a measure that allows me to produce the following output, that isn't affected by slicers:
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"
Thanks in advance 🙂
Solved! Go to Solution.
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] )
)
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] )
)
User | Count |
---|---|
14 | |
11 | |
8 | |
6 | |
5 |
User | Count |
---|---|
28 | |
19 | |
13 | |
8 | |
5 |