Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
qlikviewwizard
Master II
Master II

Sum of SAL based on date

Hi Folks,

Kindly help my requirement as shown below:

I have the hierarchy Incharge1 > Incharge2 > Ename

If EndDt<StartDt then Ename SAL =0 and the same amount to be distribute to  Incharge1  & Incharge2

If EndDt is NULL then SAL should distribute to Ename

My report should show like the below:

please help me.

Source Data:

EMPNOEnameIncharge1Incharge2SALStartDtEndDt
1Ename1Ename5Ename9100012-May-1511-May-15
2Ename2Ename5Ename9200011-May-153-May-15
3Ename3Ename5Ename9300010-May-15
4Ename4Ename5Ename910009-May-15
5Ename5Ename520008-May-15
6Ename6Ename5Ename930007-May-15
7Ename7Ename10Ename9100012-May-1510-May-15
8Ename8Ename10Ename9200011-May-153-May-15
9Ename9Ename10Ename3300010-May-15
10Ename1040007-May-15


Inline image 1

SAL column is shown 1000+2000 ,.. is for better understanding.

P

1 Solution

Accepted Solutions
jagan
Partner - Champion III
Partner - Champion III

Hi,

You can manage this easily with Pivot table.  Please find attached file for solution.

Regards,

Jagan.

View solution in original post

3 Replies
qlikviewwizard
Master II
Master II
Author

Any help please.

Not applicable

I cannot  see the expected report that you required.

jagan
Partner - Champion III
Partner - Champion III

Hi,

You can manage this easily with Pivot table.  Please find attached file for solution.

Regards,

Jagan.