Got struck with exporting variable as Excel file. Tried from various various community post. Missing something in my script part. I am able to generate excel but its not in desired format.
Sharing the excel that I am getting. Also sharing the output that I am expecting. Removed all the old scripts.
Sharing some of the posts that I have tried already. Help me out. Which will yield a best result. Started with : Qlik calculator blog