Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. 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.
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
72 | |
71 | |
68 | |
42 | |
42 |
User | Count |
---|---|
46 | |
40 | |
28 | |
27 | |
26 |