Skip to main content
Announcements
See why Qlik is a Leader in the 2024 Gartner® Magic Quadrant™ for Analytics & BI Platforms. Download Now
cancel
Showing results for 
Search instead for 
Did you mean: 
antonybi
Creator
Creator

Pls Help

Hi,

Am trying to get below output with my actual data.

I have some sample data(Main/NoShow) in two sheets and looking for below desired output.

Capture1.JPG

I have tried with apply map and lookup but not getting what exactly looking for.

Any suggestions will be appreciated.

Kindly help!!!

4 Replies
Anil_Babu_Samineni

May be attached?

Capture.PNG

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Anil_Babu_Samineni

To get correct format use this?

Date(MonYr,'MMM-YY') as MonYr,

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
antonybi
Creator
Creator
Author

Hey Anil thanks for your quick suggestion.

am unable to open your attached as am using only personal edition.

Can you paste your script here??

Also find attached sample one and correct If am anything wrong.

its_anandrjs

You have to load this way

Script:-

LOAD Date(MonYr,'MMM-YY') AS MonYr,

     Emp,

     Dept,'EmpNonshow' as TabFlag

FROM

NoShow.xlsx

(ooxml, embedded labels, table is Main);

Concatenate

LOAD Date(MonYr,'MMM-YY') AS MonYr,

     Emp,

     process,'Noshow' as TabFlag

FROM

NoShow.xlsx

(ooxml, embedded labels, table is NoShow);

Chart Expression:-

Dim:- MonYr

Expre TOTAL HC:- =Count ( {<TabFlag={'EmpNonshow'}>} Emp)

Expre Noshow Emp :- =Count ( {<TabFlag={'Noshow'}>} Emp)

Expre Non Noshow Emp :- =Column(1)-Column(2)

op3.PNG