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

Dates to Months?

Hi All,

I have a query on how I get all the dates (shown below) to show as a selection month. Any help is much appreciated.

Best,

Stephen

28/06/1999 to show as a June etc

1 Solution

Accepted Solutions
PrashantSangle

Hi,

If you want only Month

Then write expression

->Date(Activity.Duration,'MMMM')

->Date(Activity.External,'MMMM')

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂

View solution in original post

13 Replies
PrashantSangle

Hi,

USe

MonthNAme()

or

Month()

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
PrashantSangle

Hi,

Try

Date(DateField,'MMMM')

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
Not applicable

hi,

not so clear but you can use date function

Date(date,'DD/MMM/YYYY'-   28/JUN/1999)

Date(date,'DD/MM/YYYY')

date('28/06/1999','DD/MMM/YYYY') as Date

date(Today(),'DD/MMM/YYYY'),

month(date(Today(),'DD/MMM/YYYY'))


month(Today())


Regards

Vimlesh

rajkumarb
Creator II
Creator II

hi

Stephen

use this

Month(yourdatefield) As Monthname

Month( Date#( yourdatefield,'MMM') ) as Monthname,

knightwriter
Creator III
Creator III
Author

Hi max dreamer,

Thanks for the but where do I put MonthNAme()?

Cheers

PrashantSangle

Hi,

If you are trying it in script.

Like

MonthName(DateField) as MonthYear

Month(DateField) as MonthNumber

Date(DateField,'MMMM') as MonthName

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
buzzy996
Master II
Master II

use this,

Month(urdatefield) as Month

knightwriter
Creator III
Creator III
Author

Hi All,

Many thanks for all your replies. I am not familiar with editing the scripts, is there a way I can do this in the multi box properties? 

date query.PNG

PrashantSangle

Hi,

In MultiBox->Add as Expression

->MonthName(Activity.Duration)

->MonthName(Activity.External)

and so on

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂