Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
rupaliqlik
Creator
Creator

How to transpose date from row to column level?

Hi Team,

In my application, I have to show payroll related data. I have Reason Flag in my application ,by using that I am creating flag like Privilege Leave, Planned Leave …etc. But in my application attendance date is one field and they want to see each date as column. I have to transpose date from row to column. By using generic keyword I can create each date but my  dates are from 2021 and that's why datamodel is become complicated. Is there any other way to achieve this result.

MDOID is Primary key.

rupaliqlik_1-1650812904965.png

In Qliksense:

rupaliqlik_2-1650815897687.png

 

Excel data: Expected Result.

rupaliqlik_0-1650811019093.png

 

Attendance data, Present Days (P),
Privilege Leave (PL),Planned Leave (CL),Unplanned Leave (SL),Leave without Pay (A),Not Marked (NM),Total Holidays, Total Days.

thanks,

Rupali Ethape

@abhijitnalekar , ,Kaushik Solanki

Labels (1)
2 Replies
MayilVahanan

Hi 

 "But in my application attendance date is one field and they want to see each date as column".

-- Did u try with Pivotal table to achieve in front end instead of backend script? Perhaps, it will help you .

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
rupaliqlik
Creator
Creator
Author

Yes,I have used Pivot table and checked fully expand .but then they get the data in excel group format.