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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
svsudhakar
Creator
Creator

Report Format


Hi ,

I need the report like below chart .can any one please suggest how to do this.

ManagerReporteeTotal Amount (Direct +Reportees)Reportee Amount
XA100(A Direct Amount)+(Reportees 70+20+30)=210 110
AB40 + (Reportees 10+20) =7030
Ac200
AD300
BE100
BF200
13 Replies
svsudhakar
Creator
Creator
Author

Reportees values need calculate dynamically based on manager and reportee tagging.

because my table structure have is like this .

arulsettu
Master III
Master III

can you explain bit more

svsudhakar
Creator
Creator
Author

hi Arul,

I have two tables one is user tagging and other one is user wise values.

like below

Table 1:                                                                       

                

ManagerReportee
XA
AB
Ac
AD
BE
BF
x

    

Table 2:

                          

UserAmount
A100
B40
c20
D30
E10
F20


Now I need the report like below:

First Manager Should come:

Ex :

Manager      Reportees     Amount

X                    A                    210

A                    B                    70

A                    C                    20

A                    D                    30

B                     E                    20

B                     F                    10

The consideration for calculation should be like this..

For a manager the final  amount should be the sum of his amount + sum of his Reportees amount ..

For example for B is manager as per the data he has to reportees so the amount will be calculated as

B's amount + Reportee's amount=40+20+10(B+E+F)=70

Also B is a reportee to Manger A . So  Manager A amount will be

A's  amount+ Reportess[B+C+D]   amount  i.e  100+70+20+30=210

Hope now it is clear..

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Perhaps this discussion helps: BOM Explosion using Hierarchy & HierarchyBelongsTo


talk is cheap, supply exceeds demand