When you export tables from Qlik Sense, the resulting .xlsx files will have dimensions before measures, regardless of the order in the Qlik Sense table visualization. This is due to how the Qlik Sense engine service associates data. To work around this current limitation, create calculated dimensions from your measures and use the dimensions instead of measures in the table.
Thanks for the reply.
Ok, for some column if I change from dimension to measure, it works. But for some other it doesn't work.
The formular is:
= if ( sum ([INVL.Purchase Order Quantity])=0 and sum ([INVL.Delivery Quantity])> 0, 'Y', 'N')
What I did is just copy the formular and paste to the dimention I create.