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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Uri
Creator
Creator

SET analysis expression into a Variable

Hi,

My idea is to create a variable that I will use in NPrinting after.

date(date#(max({<FIELD1={'XXXXXXXXXX'}, FIELD2={'xxxxxxxxxxx'}>}total FIELD3),'YYYY-MM-DD'),'YYYYMM')

I tried this way but it didnt work.

LET vNPrinting =  '=date(date#(max({<FIELD1={'XXXXXXXXXX'}, FIELD2={'xxxxxxxxxxx'}>}total FIELD3),'YYYY-MM-DD'),'YYYYMM')'

Can anyone help?

Labels (2)
3 Replies
Chanty4u
MVP
MVP

is this working ?  without variable?

date(date#(max({<FIELD1={'XXXXXXXXXX'}, FIELD2={'xxxxxxxxxxx'}>}total FIELD3),'YYYY-MM-DD'),'YYYYMM')  

 

 

Uri
Creator
Creator
Author

Hi @Chanty4u ,

Yes, it works if I apply this in my table.

BR,

Artur

Uri
Creator
Creator
Author

Any ideas on this? 🙂