Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello, I'm wondering if someone has a solution for creating a dymanic label while using a data hierarcy slicer. I'm trying to create a label that will display year and qtr but display these with the year associated with them for example if I choose 2020 Q4 and 2021 Q1 my label will show "2020, 2021, Qtr 1, Qtr 4", currently I'm using the concatenate quick measure to accomplish this (see my label below). Is there a way to show the Year/Quarter/Month/Dates selected together like: "2020 Qtr 4, 2021 Qtr 1" Here's my slicer and my label:
Solved! Go to Solution.
Hi @Anonymous ,
To what I can see you are using the auto datetime, try the following measure:
Label Year/quarters =
CONCATENATEX (
SUMMARIZE ( 'Table', 'Table'[Date].[Year], 'Table'[Date].[Quarter] ),
'Table'[Date].[Year] & 'Table'[Date].[Quarter],
", "
)
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @Anonymous ,
To what I can see you are using the auto datetime, try the following measure:
Label Year/quarters =
CONCATENATEX (
SUMMARIZE ( 'Table', 'Table'[Date].[Year], 'Table'[Date].[Quarter] ),
'Table'[Date].[Year] & 'Table'[Date].[Quarter],
", "
)
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsThank you Miguel Felix! This is exactly what I needed and it worked!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
93 | |
77 | |
65 | |
53 |
User | Count |
---|---|
147 | |
106 | |
104 | |
87 | |
61 |