This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hai all, I have created a calendar table by using this Dax
Here I want to show the "This year" text in the year field
The requirement is I have a slicer like this it will show this text every year dynamically (ie. If the current year is 2022 = the YEAR Column should show " this year", if it is 2023 it should show "this year "), Down I am attaching the Dax whichever I used in power bi as the master calendar
Solved! Go to Solution.
Hi
Can not catch you almost, I understand you want to replace the number of current year by text "this year".
If so, just need creat a new column of year
Year_2 = if([YEAR column] = YEAR(TODAY()),"This Year",[YEAR column])
then put Year_2 into slicer.
Hi
Can not catch you almost, I understand you want to replace the number of current year by text "this year".
If so, just need creat a new column of year
Year_2 = if([YEAR column] = YEAR(TODAY()),"This Year",[YEAR column])
then put Year_2 into slicer.
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 32 | |
| 25 | |
| 24 | |
| 22 | |
| 13 |
| User | Count |
|---|---|
| 61 | |
| 47 | |
| 27 | |
| 24 | |
| 19 |