Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
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
Partner - Master
Partner - Master

Hi, try

=Year(datefield)