Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Everyone 🙂
I'm new to Qlik and I struggle with some simple matters.
I transformed a date which was DD/MM/YYYY hh:mm into DD/MM/YYYY with floor formula :
Date(Floor( Timestamp#( "Date Initialisation",'DD/MM/YYYY hh:mm')),'DD/MM/YYYY') as "Date Initialisation",
Now i would like to transform this date in Weeks. I can do it with normal dates with that formula :
if(year("Date Reception BC") like '2020','0', Week("Date Reception BC"))as [Date Reception BC Semaine],
But this formula does not work with my floor(date)
And yes I need to keep just the date from the current year, that is what I found to do so. If you have simpler, do not hesitate 😉
How could I do ?
Regards,
I think add month as dimension and create two expressions which uses set analysis for current year and previous year.