Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
tvisha
Creator II
Creator II

How to show only year instead of date on a bar chart

How can I format a bar chart to only show years. I have a date field, and need to pick only the year and show data for years. so it would be like 2020,2021,2022,2023 on the y axis.

 

Thanks

Labels (1)
1 Reply
BrunPierre
Master
Master

Hi, try

=Year(datefield)