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

Changing date to Month Year??

How do I change a date from MM/DD/YYYY and MMM-YY to MMM YYYY?

How would I then restrict the chart to show only the most recent month in the dimensions?

TIA

4 Replies
vishsaggi
Champion III
Champion III

In your script try like:

Date(Date#(YourdateField, 'MM/DD/YYYY'), 'MMM YYYY') AS DateFieldName

OR

Date(Date#(YourdateField, 'MMM-YY'), 'MMM YYYY') AS DateFieldName



Dim:

//Reference taken from here check here?

Calculated dimension for max date of each month

= Aggr(Max(DateFieldName), DateFieldName)



Not applicable
Author

This did not work, but I figured it out based on this.

How do I show only the previous months data in the dimensions of a bar chart?

Not applicable
Author

for the dimension, that is showing for multiple months. I am trying to only show one month of data- being the last month

vishsaggi
Champion III
Champion III

Can you share your sample app for a quick look at it?