Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi,
I'd like to filter the concatenated column value in the DAX statement with CONCATENATEX, in this example:
Only Assignments with Relevant = Y should be shown for each account.
So in the end, the measure should only show Task A for Acc A, blank for B and Task D for C.
So far my measure works without the filter:
How can I now add the filter part in this measure?
Thank you.
Solved! Go to Solution.
Hi @thhmez7
Please try
Assignment Measure =
VAR FilteredTable =
FILTER ( Assignm, Assignm[Relevant] = "Y" )
VAR Result =
CONCATENATEX (
FilteredTable,
Assignm[Assignment],
";" & UNICHAR ( 10 ),
Assignm[Assignment], ASC
)
RETURN
Result
Hi @thhmez7
Please try
Assignment Measure =
VAR FilteredTable =
FILTER ( Assignm, Assignm[Relevant] = "Y" )
VAR Result =
CONCATENATEX (
FilteredTable,
Assignm[Assignment],
";" & UNICHAR ( 10 ),
Assignm[Assignment], ASC
)
RETURN
Result
Thank you, it works.
User | Count |
---|---|
85 | |
79 | |
64 | |
52 | |
46 |
User | Count |
---|---|
101 | |
49 | |
42 | |
39 | |
38 |