Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hi,
Could you please help to amend this measure to concatenate text rather than integers? Thank you
=
IF (
HASONEVALUE ( 'Models'[ModelNumber] ),
CONCATENATEX (
FILTER (
ALLSELECTED ( 'Models'[ModelNumber] ),
'Models'[ModelNumber] <= SELECTEDVALUE ( 'Models'[ModelNumber] )
),
CALCULATE ( SUM ( Data[Val1] ) ),
", "
)
)
I have created sample data and how it should look like. I need it concatenated with each new date and value, but only for group A. The measure doesn't work.
Solved! Go to Solution.
Here you go...
ConcatDescriptions =
VAR CurrentDate = 'Table'[Date]
VAR FilteredTable = FILTER(
ALL('Table'),
'Table'[Group] = "A" && 'Table'[Date] <= CurrentDate
)
RETURN
IF(
'Table'[Group] = "A",
CONCATENATEX(
FilteredTable,
'Table'[Description],
", "
),
BLANK()
)
Proud to be a Super User!
Here you go...
ConcatDescriptions =
VAR CurrentDate = 'Table'[Date]
VAR FilteredTable = FILTER(
ALL('Table'),
'Table'[Group] = "A" && 'Table'[Date] <= CurrentDate
)
RETURN
IF(
'Table'[Group] = "A",
CONCATENATEX(
FilteredTable,
'Table'[Description],
", "
),
BLANK()
)
Proud to be a Super User!
Try this...
IF (
HASONEVALUE ( 'Models'[ModelNumber] ),
CONCATENATEX (
FILTER (
ALLSELECTED ( 'Models'[ModelNumber] ),
'Models'[ModelNumber] <= SELECTEDVALUE ( 'Models'[ModelNumber] )
),
CALCULATE ( SELECTEDVALUE ( Data[TextColumn] ) ),
", "
)
)
Proud to be a Super User!
Thank you @amustafa. Unfortunately this doesn't work I have created sample data and how it should look like
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.