Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare 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.
Check out the October 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
113 | |
96 | |
91 | |
82 | |
69 |
User | Count |
---|---|
159 | |
125 | |
116 | |
111 | |
95 |