Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I WANT TO SHOW THE DIFFERENCE BETWEEN THE TWO DATES (The FIRST Col - The SECOND Col) and plot their values on a bar chart.
How can that be done ?
Thanks
here you go !
Try this?
Interval( (date(timestamp#(Field1,'MMM D YYYY hh:mmTT'),'DD/MM/YYYY')) - (date(timestamp#(Field2,'MMM D YYYY hh:mmTT'),'DD/MM/YYYY')), 'd')
I'm getting the values in Integer.
After Formatting , I get this.
But the diff in days isn't seen here 😕
Try to change format only DD not DD:MM:YYYY
Another way
Date((date(timestamp#(Field1,'MMM D YYYY hh:mmTT'),'DD/MM/YYYY')) - (date(timestamp#(Field2,'MMM D YYYY hh:mmTT'),'DD/MM/YYYY')), 'DD')
Got this using DD hh:mmTT ,Thanks Folks !
Great Qlik Community Tip: Marking Replies as Correct or Helpful