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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Calculate of a new KPI doesn't work

Hey,

there are two tables Price and Payoff. I want to calculate the new KPI PriceCalc like

if(ConsumptionFrom<=Consumption and Consumption<=ConsumptionTo, BasicRate+EnergyRate*Consumption,-999).

I get only the value -999 for all CustomerID and don't know why.

Best regards

2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Try adding ConsumptionFrom and ConsumptionTo as dimensions. There are several values per customer.


talk is cheap, supply exceeds demand
Not applicable
Author

thanks for your answer. but adding ConsumptionFrom and ConsumptionTo as dimensions chances nothing.

pic1.PNG