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 August 31st. Request your voucher.
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.