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

In Between text

Hi There, I am using 

Text between and Date function together to achieve Month name in my requirement.

the source is: M01 Units

The expression which I have used is 

Date(Num(TextBetween([Month],'M',' Uni')),'MMM') as [Month],

 

The result for text between is 01 and when it convert to Date it should show as Jan but it shows as Dec.

 

I am not sure why it is showing wrong???

 

1 Solution

Accepted Solutions
srini
Creator
Creator
Author

Great!!

Thanks a lot it is working fantastic! 

View solution in original post

4 Replies
PrashantSangle

use date#() and Date() together

try like
date(Date#(Num(TextBetween([Month],'M',' Uni')),'MM'),'MMM') as 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 🙂
srini
Creator
Creator
Author

Great!!

Thanks a lot it is working fantastic! 

PrashantSangle

Please close thread by selecting answer as correct solution.
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 🙂
sunny_talwar

You can try this with the Month function

Month(Date#(Num(TextBetween([Month],'M',' Uni')),'MM')) as [Month],