<?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 Re: Expressão correta? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Express%C3%A3o-correta/m-p/1968014#M79804</link>
    <description>&lt;P&gt;&lt;FONT&gt;Not sure but two things need to be corrected, first, remove '{&amp;gt;&amp;gt;}' characters from the if statements, they only make sense when set expressions are used, next,&amp;nbsp; it doesn't make sense to me having both true and false condition in each if statement. May be you would need separate expressions from metric value and the metric label.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT&gt;Metric value -&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT&gt;If(dsc_grp_canal_dash = 'DIGITAL', SUM([transaction qty]),&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT&gt;If(dsc_grp_canal_dash = 'DIGITAL' and dsc_canal_dash = 'WEB', SUM([transaction qty]),&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT&gt;If(dsc_grp_canal_dash = 'DIGITAL' and dsc_canal_dash = 'MOBILE PF', SUM([qtd_transacao]),&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT&gt;If(dsc_grp_canal_dash = 'NETWORK', SUM([qtd_transacao])) )))&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT&gt;Metric label -&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT&gt;If(dsc_grp_canal_dash = 'DIGITAL', &lt;SPAN&gt;'DIGITAL TOTAL'&lt;/SPAN&gt;),&lt;BR /&gt;If(dsc_grp_canal_dash = 'DIGITAL' and dsc_canal_dash = 'WEB', &lt;SPAN&gt;&amp;nbsp;'DIGITAL INTERNET'&lt;/SPAN&gt;),&lt;BR /&gt;If(dsc_grp_canal_dash = 'DIGITAL' and dsc_canal_dash = 'MOBILE PF', &lt;SPAN&gt;'DIGITAL MOBILE'&lt;/SPAN&gt;),&lt;BR /&gt;If(dsc_grp_canal_dash = 'NETWORK', &lt;SPAN&gt;'BRANCHES'&lt;/SPAN&gt;) )))&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 12 Aug 2022 02:58:33 GMT</pubDate>
    <dc:creator>Digvijay_Singh</dc:creator>
    <dc:date>2022-08-12T02:58:33Z</dc:date>
    <item>
      <title>Expressão correta?</title>
      <link>https://community.qlik.com/t5/App-Development/Express%C3%A3o-correta/m-p/1967885#M79783</link>
      <description>&lt;P&gt;Gsotaria de saber onde está o erro da expressão que estou utilizando em um campo.&lt;BR /&gt;&lt;BR /&gt;If(dsc_grp_canal_dash = 'DIGITAL', SUM([qtd_transacao]), 'TOTAL DIGITAL',&lt;BR /&gt;If({&amp;lt;dsc_grp_canal_dash = 'DIGITAL' and dsc_canal_dash = 'WEB'&amp;gt;}, SUM([qtd_transacao]), 'DIGITAL INTERNET',&lt;BR /&gt;If({&amp;lt;dsc_grp_canal_dash = 'DIGITAL' and dsc_canal_dash = 'MOBILE PF'&amp;gt;}, SUM([qtd_transacao]), 'DIGITAL MOBILE', &lt;BR /&gt;If(dsc_grp_canal_dash = 'REDE', SUM([qtd_transacao]), 'BRANCHES'))))&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 16:24:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Express%C3%A3o-correta/m-p/1967885#M79783</guid>
      <dc:creator>David_Almeida</dc:creator>
      <dc:date>2022-08-11T16:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: Expressão correta?</title>
      <link>https://community.qlik.com/t5/App-Development/Express%C3%A3o-correta/m-p/1968014#M79804</link>
      <description>&lt;P&gt;&lt;FONT&gt;Not sure but two things need to be corrected, first, remove '{&amp;gt;&amp;gt;}' characters from the if statements, they only make sense when set expressions are used, next,&amp;nbsp; it doesn't make sense to me having both true and false condition in each if statement. May be you would need separate expressions from metric value and the metric label.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT&gt;Metric value -&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT&gt;If(dsc_grp_canal_dash = 'DIGITAL', SUM([transaction qty]),&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT&gt;If(dsc_grp_canal_dash = 'DIGITAL' and dsc_canal_dash = 'WEB', SUM([transaction qty]),&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT&gt;If(dsc_grp_canal_dash = 'DIGITAL' and dsc_canal_dash = 'MOBILE PF', SUM([qtd_transacao]),&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT&gt;If(dsc_grp_canal_dash = 'NETWORK', SUM([qtd_transacao])) )))&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT&gt;Metric label -&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT&gt;If(dsc_grp_canal_dash = 'DIGITAL', &lt;SPAN&gt;'DIGITAL TOTAL'&lt;/SPAN&gt;),&lt;BR /&gt;If(dsc_grp_canal_dash = 'DIGITAL' and dsc_canal_dash = 'WEB', &lt;SPAN&gt;&amp;nbsp;'DIGITAL INTERNET'&lt;/SPAN&gt;),&lt;BR /&gt;If(dsc_grp_canal_dash = 'DIGITAL' and dsc_canal_dash = 'MOBILE PF', &lt;SPAN&gt;'DIGITAL MOBILE'&lt;/SPAN&gt;),&lt;BR /&gt;If(dsc_grp_canal_dash = 'NETWORK', &lt;SPAN&gt;'BRANCHES'&lt;/SPAN&gt;) )))&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2022 02:58:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Express%C3%A3o-correta/m-p/1968014#M79804</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2022-08-12T02:58:33Z</dc:date>
    </item>
  </channel>
</rss>

