Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
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.

4 Replies
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/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

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: