Calculation Groups - Selectedvalue/Min/Max

Dear Power BI Users,

currently I’m playing arround with calculation groups to create data labels for my time intelligence calculation items in combination with the new button slicer.
Inspiration: https://www.linkedin.com/feed/update/urn:li:activity:7150448945809240067/

Target:
image

To achieve my target I’m convinced to use a SWITCH statement to detect the current selected calculation item in the beginning (variable).

Issue: Selectedvalue/min/max returns blank if ordinal ist higher than 9

In case of YOY or YOY% there are two min or max values because I’m comparing to different timeframes.

Why are all DAX statements returning blank instead of ordinal number as in all other cases (0-9)?
Is there an alternative approach?

Calculation_Group_Selectedvalue.pbix (1.8 MB)

Thanks in advance for helping :slight_smile:

Christian