Hi everyone. Is there a way to select the current year or the current month and put them into a label? Like for example:
Current year : 2019
Month : March
Maybe using a specific command.
Hi Francesco Defacendis,
you can achieve this using the dynamic selection in the selection screen on your day/month/year entity:
The selected member will be displayed in your label by using either @entity (e.g @Month) or @selection_ex (like Andrea Florio suggested).
you can test this
ok thanks both of you Andrea Florio, it worked. Is it possible to have both the year and the month in two different labels? For example:
Current year: 2019
of course, it's possible to define two or more labels for the selected entity members. Let's assume you have selected 2019 in "Year" and March in "Month". Then you can define two labels:
Label A: @Year -> shows the currently selected year ("2019")
Label B: @Month -> shows the currently selected month ("Mar.19")
Both will show the members in the default way defined in the database. To change this behavior you can use @Selection_ex instead--giving you more options to define the way the members shall be displayed.
ok thanks a lot
Retrieving data ...