Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
bushpalaamarnat
Creator
Creator

Creating Target value in a pivot chart

Hello All,

i am trying to insert a target field (like SFA = 70% and SFB is 10%) in the below table of the qlik view. and my current expression is as following:

NUM(IF(SUM({<CALCULATION_TYPE = {'SFA'}>}[FC: VALUE ERROR]) / SUM({<CALCULATION_TYPE = {'SFA'}>}[ACTUAL VALUE]) > 1, 0,

IF(SUM({<CALCULATION_TYPE = {'SFA'}>}[FC: VALUE: (Vol x NSV Rate)]) * SUM({<CALCULATION_TYPE = {'SFA'}>}[ACTUAL VALUE]) <= 0, 0,

1-(SUM({<CALCULATION_TYPE = {'SFA'}>}[FC: VALUE ERROR]) / SUM({<CALCULATION_TYPE = {'SFA'}>}[ACTUAL VALUE])))), '##.00%')

Capture.PNG

Could you please advise how to do it. I have created an inline table as follows but still not getting the out put.

3 Replies
balabhaskarqlik

You can refer Pareto Analysis:

Re: Pareto Analysis

Num(Sum({<[Customer ID] = {"=Rank(Sum(Revenue)) < (Count(TOTAL DISTINCT [Customer ID])*0.20) + 1"}>}Revenue)/Sum(Revenue), '##.0%').

bushpalaamarnat
Creator
Creator
Author

Hi ,

Target value i have it as inline table in the script.

The out put should be like this Capture.PNG