Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
Hi,
i've created the below slicer and want to display the selected items on a card. the output should look something like "2017 (Q3, Q4), 2018, 2019, 2020 (Q1)"
any ideas on how to realise this?
kind regards,
Hans
Solved! Go to Solution.
Try
Selected Quarters
VAR SummaryTable =
SUMMARIZE( 'Date', 'Date'[Year], 'Date'[Quarter] )
Var Txt = CONCATENATEX( VALUES('Date'[Year]),
VAR Yr = 'Date'[Year]
VAR Qrs = CONCATENATEX(
FILTER( SummaryTable, 'Date'[Year] = Yr),
'Date'[Quarter],
", "
)
RETURN Yr & " ( " & Qrs & ")",
", "
)
RETURN Txt
Try
Selected Quarters
VAR SummaryTable =
SUMMARIZE( 'Date', 'Date'[Year], 'Date'[Quarter] )
Var Txt = CONCATENATEX( VALUES('Date'[Year]),
VAR Yr = 'Date'[Year]
VAR Qrs = CONCATENATEX(
FILTER( SummaryTable, 'Date'[Year] = Yr),
'Date'[Quarter],
", "
)
RETURN Yr & " ( " & Qrs & ")",
", "
)
RETURN Txt
@HansZuijd , Not exact the same but you can try something like this example
concatenatex(Date, Date[Quarter] & "-" Date[Year], " , " )
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.
| User | Count |
|---|---|
| 13 | |
| 9 | |
| 8 | |
| 8 | |
| 7 |