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 PBI Experts,
I am using a slicer in my report and I just want to display the year. However, it shows the whole date.
If I click Date Hierarchy, the control becomes a list or dropdown.
What is the workaround to remove the day and month part in the slicer control.
Thank you very much!
Regards,
JorgeAbiad
Solved! Go to Solution.
@JorgeAbiad
You need to have a separate column in your table to use on a slicer. Go to your table create a column as follows and assign it to a slicer.
Year = Year(Bonus_2019_Sheet[Fiscal year])
________________________
If my answer was helpful, please consider Accept it as the solution to help the other members find it
Click on the Thumbs-Up icon if you like this reply 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@JorgeAbiad , Create a fiscal year with help from STARTOFYEAR or ENDOFYEAR
End Year = ENDOFYEAR([Date], "3/31") // if year end on 3 /31
Start Year = STARTOFYEAR ([Date], "3/31") // if year end on 3 /31
Based on one of these you can get a year
FY Year = Year([Start Year])
And use this FY as Slicer with between option.
You can also refer my blog: Creating Financial Calendar - From Any Month
https://community.powerbi.com/t5/Community-Blog/Creating-Financial-Calendar-Decoding-Date-and-Calend...
@JorgeAbiad , Create a fiscal year with help from STARTOFYEAR or ENDOFYEAR
End Year = ENDOFYEAR([Date], "3/31") // if year end on 3 /31
Start Year = STARTOFYEAR ([Date], "3/31") // if year end on 3 /31
Based on one of these you can get a year
FY Year = Year([Start Year])
And use this FY as Slicer with between option.
You can also refer my blog: Creating Financial Calendar - From Any Month
https://community.powerbi.com/t5/Community-Blog/Creating-Financial-Calendar-Decoding-Date-and-Calend...
@JorgeAbiad
You need to have a separate column in your table to use on a slicer. Go to your table create a column as follows and assign it to a slicer.
Year = Year(Bonus_2019_Sheet[Fiscal year])
________________________
If my answer was helpful, please consider Accept it as the solution to help the other members find it
Click on the Thumbs-Up icon if you like this reply 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
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 |
---|---|
108 | |
98 | |
79 | |
65 | |
60 |
User | Count |
---|---|
148 | |
113 | |
97 | |
84 | |
67 |