<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Query about a source for an indicator with multiple if in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Query-about-a-source-for-an-indicator-with-multiple-if/m-p/130686#M603161</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;Good afternoon fellow Qlik, I have a problem in an indicator.&lt;BR /&gt;I am a beginner in the design of indicators by Qlik, I know a lot about SQL and much more about Excel and VBA.&lt;BR /&gt;In the Excel I have been able to solve the problem, but in the Qlik I can not get all the variables to be taken so that the graph goes as it should.&lt;BR /&gt;My biggest problem is the large number of conditioning variables that have to take into account the formula to make the graph.&lt;BR /&gt;Maybe there is a simpler way to write the formula and make it work, my only "weapon" is the conditional "if".&lt;BR /&gt;I ask you for help in this formula:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=IF(MonExpr='Dolares',if(Rem_Fac='Remitir',if(MONEDA='PESOS',(SUM(TOT_PEND_RTO_P)/vPesos)/UniMedi,SUM(TOT_PEND_RTO_P)/UniMedi),if(MONEDA='PESOS',(SUM(TOT_PEND_FAC_P)/vPesos)/UniMedi,SUM(TOT_PEND_FAC_P)/UniMedi)),&lt;/P&gt;&lt;P&gt;if(Rem_Fac='Remitir',if(MONEDA='PESOS',(SUM(TOT_PEND_RTO_P))/UniMedi,(SUM(TOT_PEND_RTO_P)*vPesos)/UniMedi),if(MONEDA='PESOS',(SUM(TOT_PEND_FAC_P))/UniMedi,(SUM(TOT_PEND_FAC_P)*vPesos)/UniMedi)))&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;BR /&gt;I enclose an excel with the sample and the Qlick indicator.&lt;BR /&gt;From already thank you very much!!.&lt;BR /&gt;&lt;BR /&gt;Note: translated with Goolge Translator&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Buenas tardes compañeros de Qlik, tengo un problema en un indicador.&lt;/P&gt;&lt;P&gt;Soy un principiante en el diseño de indicadores por Qlik, conozco bastante de SQL y mucho mas de Excel y VBA.&lt;/P&gt;&lt;P&gt;En el Excel lo he podido resolver el problema, pero en el Qlik no logro que todas las variables sean tomadas para que el grafico salga como debe.&lt;/P&gt;&lt;P&gt;Mi mayor problema son la gran cantidad de variables condicionantes que tiene que tener en cuenta la formula para poder realizar el grafico.&lt;/P&gt;&lt;P&gt;Quizas hay una forma mas sencilla de escribir la formula y de hacer que esta funcione, mi unica "arma" es el condicional "if".&lt;/P&gt;&lt;P&gt;Les pido ayuda en esta formula:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=IF(MonExpr='Dolares',if(Rem_Fac='Remitir',if(MONEDA='PESOS',(SUM(TOT_PEND_RTO_P)/vPesos)/UniMedi,SUM(TOT_PEND_RTO_P)/UniMedi),if(MONEDA='PESOS',(SUM(TOT_PEND_FAC_P)/vPesos)/UniMedi,SUM(TOT_PEND_FAC_P)/UniMedi)),&lt;/P&gt;&lt;P&gt;if(Rem_Fac='Remitir',if(MONEDA='PESOS',(SUM(TOT_PEND_RTO_P))/UniMedi,(SUM(TOT_PEND_RTO_P)*vPesos)/UniMedi),if(MONEDA='PESOS',(SUM(TOT_PEND_FAC_P))/UniMedi,(SUM(TOT_PEND_FAC_P)*vPesos)/UniMedi)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adjunto un excel con la muestra y el indicador Qlick.&lt;/P&gt;&lt;P&gt;Desde ya muchas gracias!!.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Aug 2018 17:47:59 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-08-28T17:47:59Z</dc:date>
    <item>
      <title>Query about a source for an indicator with multiple if</title>
      <link>https://community.qlik.com/t5/QlikView/Query-about-a-source-for-an-indicator-with-multiple-if/m-p/130686#M603161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;Good afternoon fellow Qlik, I have a problem in an indicator.&lt;BR /&gt;I am a beginner in the design of indicators by Qlik, I know a lot about SQL and much more about Excel and VBA.&lt;BR /&gt;In the Excel I have been able to solve the problem, but in the Qlik I can not get all the variables to be taken so that the graph goes as it should.&lt;BR /&gt;My biggest problem is the large number of conditioning variables that have to take into account the formula to make the graph.&lt;BR /&gt;Maybe there is a simpler way to write the formula and make it work, my only "weapon" is the conditional "if".&lt;BR /&gt;I ask you for help in this formula:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=IF(MonExpr='Dolares',if(Rem_Fac='Remitir',if(MONEDA='PESOS',(SUM(TOT_PEND_RTO_P)/vPesos)/UniMedi,SUM(TOT_PEND_RTO_P)/UniMedi),if(MONEDA='PESOS',(SUM(TOT_PEND_FAC_P)/vPesos)/UniMedi,SUM(TOT_PEND_FAC_P)/UniMedi)),&lt;/P&gt;&lt;P&gt;if(Rem_Fac='Remitir',if(MONEDA='PESOS',(SUM(TOT_PEND_RTO_P))/UniMedi,(SUM(TOT_PEND_RTO_P)*vPesos)/UniMedi),if(MONEDA='PESOS',(SUM(TOT_PEND_FAC_P))/UniMedi,(SUM(TOT_PEND_FAC_P)*vPesos)/UniMedi)))&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;BR /&gt;I enclose an excel with the sample and the Qlick indicator.&lt;BR /&gt;From already thank you very much!!.&lt;BR /&gt;&lt;BR /&gt;Note: translated with Goolge Translator&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Buenas tardes compañeros de Qlik, tengo un problema en un indicador.&lt;/P&gt;&lt;P&gt;Soy un principiante en el diseño de indicadores por Qlik, conozco bastante de SQL y mucho mas de Excel y VBA.&lt;/P&gt;&lt;P&gt;En el Excel lo he podido resolver el problema, pero en el Qlik no logro que todas las variables sean tomadas para que el grafico salga como debe.&lt;/P&gt;&lt;P&gt;Mi mayor problema son la gran cantidad de variables condicionantes que tiene que tener en cuenta la formula para poder realizar el grafico.&lt;/P&gt;&lt;P&gt;Quizas hay una forma mas sencilla de escribir la formula y de hacer que esta funcione, mi unica "arma" es el condicional "if".&lt;/P&gt;&lt;P&gt;Les pido ayuda en esta formula:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=IF(MonExpr='Dolares',if(Rem_Fac='Remitir',if(MONEDA='PESOS',(SUM(TOT_PEND_RTO_P)/vPesos)/UniMedi,SUM(TOT_PEND_RTO_P)/UniMedi),if(MONEDA='PESOS',(SUM(TOT_PEND_FAC_P)/vPesos)/UniMedi,SUM(TOT_PEND_FAC_P)/UniMedi)),&lt;/P&gt;&lt;P&gt;if(Rem_Fac='Remitir',if(MONEDA='PESOS',(SUM(TOT_PEND_RTO_P))/UniMedi,(SUM(TOT_PEND_RTO_P)*vPesos)/UniMedi),if(MONEDA='PESOS',(SUM(TOT_PEND_FAC_P))/UniMedi,(SUM(TOT_PEND_FAC_P)*vPesos)/UniMedi)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adjunto un excel con la muestra y el indicador Qlick.&lt;/P&gt;&lt;P&gt;Desde ya muchas gracias!!.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2018 17:47:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Query-about-a-source-for-an-indicator-with-multiple-if/m-p/130686#M603161</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-28T17:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: Query about a source for an indicator with multiple if</title>
      <link>https://community.qlik.com/t5/QlikView/Query-about-a-source-for-an-indicator-with-multiple-if/m-p/130687#M603162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;I paste the solution to the problem in case some other user serves.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=(if(Rem_Fac='Remitir'&lt;/P&gt;&lt;P&gt;,if(MonExpr='Dolares'&lt;/P&gt;&lt;P&gt;,SUM({&amp;lt;[MONEDA]={PESOS}&amp;gt;}TOT_PEND_RTO_P)/vPesos+SUM({&amp;lt;[MONEDA]={DOLARES}&amp;gt;}TOT_PEND_RTO_P)&lt;/P&gt;&lt;P&gt;,SUM({&amp;lt;[MONEDA]={PESOS}&amp;gt;}TOT_PEND_RTO_P)+SUM({&amp;lt;[MONEDA]={DOLARES}&amp;gt;}TOT_PEND_RTO_P*vPesos))&lt;/P&gt;&lt;P&gt;,if(MonExpr='Dolares'&lt;/P&gt;&lt;P&gt;,SUM({&amp;lt;[MONEDA]={PESOS}&amp;gt;}TOT_PEND_FAC_P)/vPesos+SUM({&amp;lt;[MONEDA]={DOLARES}&amp;gt;}TOT_PEND_FAC_P)&lt;/P&gt;&lt;P&gt;,SUM({&amp;lt;[MONEDA]={PESOS}&amp;gt;}TOT_PEND_FAC_P)+SUM({&amp;lt;[MONEDA]={DOLARES}&amp;gt;}TOT_PEND_FAC_P*vPesos))))/UniMedi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2018 18:56:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Query-about-a-source-for-an-indicator-with-multiple-if/m-p/130687#M603162</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-30T18:56:44Z</dc:date>
    </item>
  </channel>
</rss>

