Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have table where columns are CellName, Slope(M), Intercept(C). I want to add filter on the cell name and select one cell, then I want to build and plot a curve for this cell using the formula y=mx+c where x value is from 1 to 100. Please help. How to add the filter and build dynamically the curve in QlikSense?
Here is one way of doing it:



The Load Script:

This is what i was looking for.
One more help please. I have one more concern here-
For every cell i have to plot 4 curves. 3 are of type y=mx+c type and fourth is of type y=mx*100+c
y=mx+c
y=m1x+c1
y=m2x+c2
y1=mx*100+c
so first three curves are plotted on x and y coordinates and fourth curve on x and y1 coordinates.
The output should be something like below.

Hi Petter,
So in the attached qvf I have plotted four curves with there expression with help from your qvf file. Basically I am looking for the below fixes in the attached qvf file,
Please help. Thanks in advance
Regards,
Rohit
Hi Rohit,
You are very close to a working solution. Your expressions in the measures needed to be simplified slightly by removing the Min() function. The Calculation Condition had to be reversed too for the charts. I have attached a working solution for you:
BTW: if you hold down the CTRL-key while clicking a CellName you will select just that one overriding other selections. This is a handy shortcut....

