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: 
mahitham
Creator II
Creator II

Expression help

Hi Experts,

Can any one please help me on below requirement.

In the below table I have the Amount by Name.

That Amount value need to split by each name related SCOPE based on CC1% Column.

The calculation is The total amount is multiplied by the each Name related individual scope CC1%.

Please help me on this. Please find the below app.

Thanks in advance.

1 Solution

Accepted Solutions
3 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Multiple the two:

=(Sum(Aggr(RangeMax(0,Sum(Value)) + RangeMax(Sum(Item1),Sum(Item2),Sum(Item3),Sum(Item4),Sum(Item5),Sum(Item6),Sum(Item7),Sum(Item8),Sum(Item9),Sum(Item10),Sum(Item11))/5+0.1, Date, Name, SCOPE))/

Sum(TOTAL <Name> Aggr(RangeMax(0,Sum(Value)) +

RangeMax(Sum(Item1),Sum(Item2),Sum(Item3),Sum(Item4),Sum(Item5),Sum(Item6),Sum(Item7),Sum(Item8),Sum(Item9),Sum(Item10),Sum(Item11))/5+0.1, Date, Name, SCOPE))

) * sum(Amount)


talk is cheap, supply exceeds demand
mahitham
Creator II
Creator II
Author

Hi gwassenaar,

Thanks for your reply.

But here I have one issue

User will filter Name and SCOPE

when we filter Name=aim2 the CC1%=69% and Amount=1,023,481 showing correct for LEVEL1

after filtering LEVEL1 CC1% changed to 100% and Amount changed to Total value again i.e., 1,489,768


Could you please help me on this.


Thanks in advance,

AMOUNT ISSUE.png

sunny_talwar

Is this the similar issue?

Percentage issue