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.
I have a date hierarchy slicer on one page of my report that is synced to a second page. On the second page, I want to have a card that displays the values selected in the date hierarchy slicer. The slicer has three levels: year, quarter and month using a Policy Effective Date field below:
If a full year level is chosen, I want the card to display the year instead of a breakout of the levels below. For example, the card should display "2019, 2020" for the selection below:
But also keep the year when a certain quarter or month is chosen. The first image below should show "2019 Qtr 1" and the second one should show "2021 January":
And be able to combine multiple selections. The below should show "2019, 2020 Qtr 1":
As I'm typing this I realize this may be extremely complicated and why I haven't been able to find any solutions yet. But any help is appreciated!
Solved! Go to Solution.
Hi @lpost ,
According to your description, you can use the CONCATENATEX function to achieve a similar effect. It calculates the expression for each row of the table, and then concatenates the result into a string, separated by a specified separator.
Take the date hierarchy as an example. If quarter is selected, all dates of day will be selected by default. You must filter manually. If there is no hierarchical structure, then any splicing can be carried out.
1 = CONCATENATEX(VALUES('calendar'[Date]),'calendar'[Date],"-")
So day is selected by default:
no hierarchy:
Hope to help you solve the problem.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @lpost ,
According to your description, you can use the CONCATENATEX function to achieve a similar effect. It calculates the expression for each row of the table, and then concatenates the result into a string, separated by a specified separator.
Take the date hierarchy as an example. If quarter is selected, all dates of day will be selected by default. You must filter manually. If there is no hierarchical structure, then any splicing can be carried out.
1 = CONCATENATEX(VALUES('calendar'[Date]),'calendar'[Date],"-")
So day is selected by default:
no hierarchy:
Hope to help you solve the problem.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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 |
---|---|
71 | |
70 | |
43 | |
31 | |
26 |
User | Count |
---|---|
89 | |
49 | |
44 | |
38 | |
37 |