<?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: Calculated dimension with multiple IF conditions in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Calculated-dimension-with-multiple-IF-conditions/m-p/2482924#M100958</link>
    <description>&lt;P&gt;you can also add the five dimensions start, end,...&lt;BR /&gt;then in the&amp;nbsp;&lt;STRONG&gt;Show dimension if :&amp;nbsp;&lt;/STRONG&gt;you put&amp;nbsp; $(variable)=1 for "start", $(variable)=2 for "end" , and so on&lt;BR /&gt;&lt;BR /&gt;or as previously said:&lt;BR /&gt;you can create one calculated dimension as follows:&lt;BR /&gt;aggr(if($(variable)=1, 'start',if($(variable)=2, 'end')), $(variable))&lt;/P&gt;
&lt;P&gt;but you are saying that you want to display all values?&lt;BR /&gt;can you elaborate more?&lt;/P&gt;</description>
    <pubDate>Mon, 23 Sep 2024 05:36:50 GMT</pubDate>
    <dc:creator>ali_hijazi</dc:creator>
    <dc:date>2024-09-23T05:36:50Z</dc:date>
    <item>
      <title>Calculated dimension with multiple IF conditions</title>
      <link>https://community.qlik.com/t5/App-Development/Calculated-dimension-with-multiple-IF-conditions/m-p/2482655#M100943</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I am trying to create a calculate field based on multiple IF conditions in chart in dimension field.&lt;/P&gt;
&lt;P&gt;I know we can create easily in script but i need to put in frontend.&lt;/P&gt;
&lt;P&gt;If($(variable)&amp;lt;1, 'start',&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;If($(variable)&amp;lt;2, 'End',&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;If($(variable)&amp;lt;3, 'xyz',&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;If($(variable)&amp;lt;4, 'middle','abc'))))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If&amp;nbsp;$(variable) is 1, the field would return start but i need to display all values in chart&amp;nbsp;&lt;/P&gt;
&lt;P&gt;start&lt;/P&gt;
&lt;P&gt;end&lt;/P&gt;
&lt;P&gt;xyz&lt;/P&gt;
&lt;P&gt;middle&amp;nbsp;&lt;/P&gt;
&lt;P&gt;abc&lt;/P&gt;
&lt;P&gt;and measure is Sum(sales)&lt;/P&gt;
&lt;P&gt;Please suggest me how can we create this in chart.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; regards,&lt;/P&gt;
&lt;P&gt;Saritha.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2024 04:43:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculated-dimension-with-multiple-IF-conditions/m-p/2482655#M100943</guid>
      <dc:creator>Saritha077</dc:creator>
      <dc:date>2024-09-20T04:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated dimension with multiple IF conditions</title>
      <link>https://community.qlik.com/t5/App-Development/Calculated-dimension-with-multiple-IF-conditions/m-p/2482715#M100945</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;
&lt;P&gt;=Only(Aggr(&lt;BR /&gt;If($(variable)&amp;lt;1, 'start',&lt;BR /&gt;If($(variable)&amp;lt;2, 'End',&lt;BR /&gt;If($(variable)&amp;lt;3, 'xyz',&lt;BR /&gt;If($(variable)&amp;lt;4, 'middle','abc'))))&lt;BR /&gt;,$(variable)))&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2024 09:53:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculated-dimension-with-multiple-IF-conditions/m-p/2482715#M100945</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2024-09-20T09:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated dimension with multiple IF conditions</title>
      <link>https://community.qlik.com/t5/App-Development/Calculated-dimension-with-multiple-IF-conditions/m-p/2482725#M100946</link>
      <description>&lt;P&gt;&lt;EM&gt;For chart to show all values its better to create an inline load in the script and based on the condition you could calculate the value in the expression&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2024 10:03:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculated-dimension-with-multiple-IF-conditions/m-p/2482725#M100946</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2024-09-20T10:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated dimension with multiple IF conditions</title>
      <link>https://community.qlik.com/t5/App-Development/Calculated-dimension-with-multiple-IF-conditions/m-p/2482924#M100958</link>
      <description>&lt;P&gt;you can also add the five dimensions start, end,...&lt;BR /&gt;then in the&amp;nbsp;&lt;STRONG&gt;Show dimension if :&amp;nbsp;&lt;/STRONG&gt;you put&amp;nbsp; $(variable)=1 for "start", $(variable)=2 for "end" , and so on&lt;BR /&gt;&lt;BR /&gt;or as previously said:&lt;BR /&gt;you can create one calculated dimension as follows:&lt;BR /&gt;aggr(if($(variable)=1, 'start',if($(variable)=2, 'end')), $(variable))&lt;/P&gt;
&lt;P&gt;but you are saying that you want to display all values?&lt;BR /&gt;can you elaborate more?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2024 05:36:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculated-dimension-with-multiple-IF-conditions/m-p/2482924#M100958</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2024-09-23T05:36:50Z</dc:date>
    </item>
  </channel>
</rss>

