Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Lakshmanan
Partner - Contributor III
Partner - Contributor III

Set axes in qlikview chart

Hi , 
I was looking for the possibility to set the axes as month end of the date in Qlikview chart .
something like if Date is 20-Aug -2020 , axes should display 31-Aug-2020 .similar for others to display only monthend date in axes.  In Line chart , if i select dimension axis as continuous , i get the month start for few dates .Can someone please help to get the monthend in axes .

Lakshmanan_1-1757582586461.png

sample axes format to be displayed:

Lakshmanan_2-1757582854924.png

Test file attached .

Labels (3)
7 Replies
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Change your Dimension expression to:

=Date(Floor(MonthEnd(Date#(InputDate,'DD-MMM-YY'))))

-Rob
http://www.easyqlik.com
http://masterssummit.com
http://qlikviewcookbook.com

Lakshmanan
Partner - Contributor III
Partner - Contributor III
Author

Hi Rob , 
After updating dimensions ,there comes the Missing months in Axis. 

Lakshmanan_0-1757661450443.png

 

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Uncheck "Suppress Zero Values" in Presentation. 

If you want the line to descend zero in the missing months, you will have to generate 0 values for those months. 

-Rob

Lakshmanan
Partner - Contributor III
Partner - Contributor III
Author

There is no missing months to descend to zero , as you can see in the test file ,there are values for months and those are not displayed in axes or data points in the chart.

Lakshmanan
Partner - Contributor III
Partner - Contributor III
Author

Any suggestions pls

marcus_sommer

Check again if there are really fact-records existing for the mentioned months because having those months within a dimension-table isn't sufficient.

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Did you try Uncheck "Suppress Zero Values" in Presentation?

-Rob