topic How to add different calculations for different values in a particular column. in New to Qlik Sense
https://community.qlik.com/t5/New-to-Qlik-Sense/How-to-add-different-calculations-for-different-values-in-a/m-p/1690172#M161552
<P>Hello Everyone, </P><P>I am bandari, i have just started working with qliksense. i am currently working and i am stuck somewhere and i am not finding any answer for it. </P><P>I have 13 columns like P01,P02..P12, and KPI column. for example:</P><TABLE border="1" width="53.44624290583466%"><TBODY><TR><TD width="20%" height="24px">KPI</TD><TD width="10%" height="24px">q1</TD><TD width="5%" height="24px">q2</TD><TD width="20%" height="24px">q3</TD><TD width="12.156862745098039%" height="24px">q4</TD></TR><TR><TD width="20%" height="24px">A</TD><TD width="10%" height="24px">P03</TD><TD width="5%" height="24px">P06</TD><TD width="20%" height="24px">P09</TD><TD width="12.156862745098039%" height="24px">P12</TD></TR><TR><TD width="20%" height="24px">B</TD><TD width="10%" height="24px">P01+P02+P03</TD><TD width="5%" height="24px">P04+P05+P06</TD><TD width="20%" height="24px">P07+P08+P09</TD><TD width="12.156862745098039%" height="24px">P10+P11+P12</TD></TR><TR><TD width="20%" height="24px">C</TD><TD width="10%" height="24px">P03 </TD><TD width="5%" height="24px">P06</TD><TD width="20%" height="24px">P09</TD><TD width="12.156862745098039%" height="24px">P12</TD></TR></TBODY></TABLE><P> </P><P>Now i will have to calculate values for every quater(q1,q2,q3,q4) depending on each Kpi value(i.e., if its 'A' then i have just give the sum of P03 for q2, If its 'B' then it should be sum(P01+P02+P03) for q1 likewise i have to calculate P06 for q2 and sometimes P01+P02+P03 for q2). i have importe the script . but now i dont know how to proceed furthure. Please help me do this. I have a deadline by this saturday. Please give sample querys if possible. </P><P>Thank you so muh for your time .</P>Thu, 02 Apr 2020 09:15:12 GMTmanasa092020-04-02T09:15:12ZHow to add different calculations for different values in a particular column.
https://community.qlik.com/t5/New-to-Qlik-Sense/How-to-add-different-calculations-for-different-values-in-a/m-p/1690172#M161552
<P>Hello Everyone, </P><P>I am bandari, i have just started working with qliksense. i am currently working and i am stuck somewhere and i am not finding any answer for it. </P><P>I have 13 columns like P01,P02..P12, and KPI column. for example:</P><TABLE border="1" width="53.44624290583466%"><TBODY><TR><TD width="20%" height="24px">KPI</TD><TD width="10%" height="24px">q1</TD><TD width="5%" height="24px">q2</TD><TD width="20%" height="24px">q3</TD><TD width="12.156862745098039%" height="24px">q4</TD></TR><TR><TD width="20%" height="24px">A</TD><TD width="10%" height="24px">P03</TD><TD width="5%" height="24px">P06</TD><TD width="20%" height="24px">P09</TD><TD width="12.156862745098039%" height="24px">P12</TD></TR><TR><TD width="20%" height="24px">B</TD><TD width="10%" height="24px">P01+P02+P03</TD><TD width="5%" height="24px">P04+P05+P06</TD><TD width="20%" height="24px">P07+P08+P09</TD><TD width="12.156862745098039%" height="24px">P10+P11+P12</TD></TR><TR><TD width="20%" height="24px">C</TD><TD width="10%" height="24px">P03 </TD><TD width="5%" height="24px">P06</TD><TD width="20%" height="24px">P09</TD><TD width="12.156862745098039%" height="24px">P12</TD></TR></TBODY></TABLE><P> </P><P>Now i will have to calculate values for every quater(q1,q2,q3,q4) depending on each Kpi value(i.e., if its 'A' then i have just give the sum of P03 for q2, If its 'B' then it should be sum(P01+P02+P03) for q1 likewise i have to calculate P06 for q2 and sometimes P01+P02+P03 for q2). i have importe the script . but now i dont know how to proceed furthure. Please help me do this. I have a deadline by this saturday. Please give sample querys if possible. </P><P>Thank you so muh for your time .</P>Thu, 02 Apr 2020 09:15:12 GMThttps://community.qlik.com/t5/New-to-Qlik-Sense/How-to-add-different-calculations-for-different-values-in-a/m-p/1690172#M161552manasa092020-04-02T09:15:12ZRe: How to add different calculations for different values in a particular column.
https://community.qlik.com/t5/New-to-Qlik-Sense/How-to-add-different-calculations-for-different-values-in-a/m-p/1691173#M161753
<P>Hello , I have tired doing it with range sum function but it is just letting me to give one expression for one variable. is it possible to give two expressions for one variable and calculating according to the other column values in qliksense.</P>Mon, 06 Apr 2020 10:02:51 GMThttps://community.qlik.com/t5/New-to-Qlik-Sense/How-to-add-different-calculations-for-different-values-in-a/m-p/1691173#M161753manasa092020-04-06T10:02:51Z