Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Error Data display on Pivot Table

Hello All,

I am a beginner on QlikView and i want to multiply a total of VAT ( here equal to -28) by the percentage of each individuals (here Activity dimension).

Here my Pivot Table:

Capture.PNG

The expression of the Column 1 (Percentage):

=SUM(Perc)


The expression of the Column 2 (VAT):

=SUM({1<source = {'VAT_Costs'}, AsOf = {"=$(=GetFieldSelections(AsOf))"},PC, Activity >} myVal)

The expression of the Column 3 (Result):

= SUM(Perc) * SUM({1<source = {'VAT_Costs'}, AsOf = {"=$(=GetFieldSelections(AsOf))"},PC, Activity >} myVal)


Have you got an idea or an advice please ?


Thanks in advance for your responses,

Sébastien.

1 Solution

Accepted Solutions
sunny_talwar

May be try this:

= SUM(Perc) * SUM(TOTAL {1<source = {'VAT_Costs'}, AsOf = {"=$(=GetFieldSelections(AsOf))"},PC, Activity >} myVal)

and

=SUM(TOTAL {1<source = {'VAT_Costs'}, AsOf = {"=$(=GetFieldSelections(AsOf))"},PC, Activity >} myVal)

View solution in original post

2 Replies
sunny_talwar

May be try this:

= SUM(Perc) * SUM(TOTAL {1<source = {'VAT_Costs'}, AsOf = {"=$(=GetFieldSelections(AsOf))"},PC, Activity >} myVal)

and

=SUM(TOTAL {1<source = {'VAT_Costs'}, AsOf = {"=$(=GetFieldSelections(AsOf))"},PC, Activity >} myVal)

mightyqlikers
Creator III
Creator III

hi,

SUM(Perc) * SUM(total {1<source = {'VAT_Costs'}, AsOf = {"=$(=GetFieldSelections(AsOf))"},PC, Activity >} myVal)


or

please provide some sample data.

$@M.