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

Announcements
Share your agentic AI experience, learn from others, and earn a new badge: Put Agentic AI to Work
cancel
Showing results for 
Search instead for 
Did you mean: 
praveen_qvw
Contributor
Contributor

Modify Date Format in Line Chart

In line chart I have to show only MMM-YY format. Suppose a month has multiple dates so it is showing that many times MMM-YY. so how to restrict only once.

I am considering date as dimension in line chart.In chart I have to show only MMM-YY format.

Suppose a month has multiple dates so it is showing that many times MMM-YY so how to restrict only once.

Labels (1)
4 Replies
kaushiknsolanki
MVP
MVP

Try this.

=Date(Monthstart(DateFIeld),'MMM-YY')

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
its_anandrjs
Champion III
Champion III

Hi,

You can create another field is your load script

Load

*,

Date( Monthstart ( C2_CUST_COMMIT_DT ),'MMM-YY') as MonthStartdate

from Location;

Regards

Anand

bohravanraj
Partner - Creator II
Partner - Creator II

Hi Praveen,

It is always a best Practice to Take monthstart(Date) in Master Calendar as Month Year Field.

This will help in Rounding of Month and in dimension is will consider as single Month,

Regards,

Vanraj Dinesh Bohra

qliksus
Specialist II
Specialist II

Try using trim function

Data:

LOAD * INLINE [
Date
01/01/2017
01/02/2017
01/03/2017
01/04/2017
01/05/2017
01/06/2017
01/07/2017
01/08/2017
01/09/2017
01/10/2017
]
;

Chart: