Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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], " , " )
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
20 | |
7 | |
6 | |
5 | |
5 |
User | Count |
---|---|
26 | |
10 | |
10 | |
9 | |
6 |