<?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: Creating &amp;amp; Using A New Dimension viaLoad Script in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Creating-amp-Using-A-New-Dimension-viaLoad-Script/m-p/1701264#M53694</link>
    <description>&lt;P&gt;can you post your complete code over here? if you are getting any error during reload then share that too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;max&lt;/P&gt;</description>
    <pubDate>Tue, 12 May 2020 21:08:17 GMT</pubDate>
    <dc:creator>PrashantSangle</dc:creator>
    <dc:date>2020-05-12T21:08:17Z</dc:date>
    <item>
      <title>Creating &amp; Using A New Dimension viaLoad Script</title>
      <link>https://community.qlik.com/t5/App-Development/Creating-amp-Using-A-New-Dimension-viaLoad-Script/m-p/1701240#M53690</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I would like to create a new dimension to use in my dashboard. I have a product hierarchy from HANA. I put an if statement to divide it into segments. But I could not see it when creating a new chart as a dimension. Do you have any idea?&lt;/P&gt;&lt;P&gt;Load PRHDA,&lt;BR /&gt;if((left(PRDHA,2)='BA' OR left(PRDHA,2)='BC' OR left(PRDHA,2)='BD' OR left(PRDHA,2)='BM' OR left(PRDHA,2)='BN' OR left(PRDHA,2)='BY' OR left(PRDHA,2)='BZ') ,'FDO',&lt;BR /&gt;if((left(PRDHA,2)='3F'OR left(PRDHA,2)='3P'),'FS',&lt;BR /&gt;if((left(PRDHA,2)='BB' OR left(PRDHA,2)='BE' OR left(PRDHA,2)='BG' OR left(PRDHA,2)='BH' OR left(PRDHA,2)='BK' OR left(PRDHA,2)='BL' OR left(PRDHA,2)='BO' OR left(PRDHA,2)='BP' OR left(PRDHA,2)='BQ' OR left(PRDHA,2)='BR' OR left(PRDHA,2)=' BS' OR left(PRDHA,2)='BU' OR left(PRDHA,2)='BW' OR left(PRDHA,2)='BF'),'SRA'))) AS NewSegment&lt;BR /&gt;From [DATALOCATION];&lt;BR /&gt;Load NewSegment;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 18:39:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Creating-amp-Using-A-New-Dimension-viaLoad-Script/m-p/1701240#M53690</guid>
      <dc:creator>AycaAltiparmak</dc:creator>
      <dc:date>2024-11-16T18:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: Creating &amp; Using A New Dimension viaLoad Script</title>
      <link>https://community.qlik.com/t5/App-Development/Creating-amp-Using-A-New-Dimension-viaLoad-Script/m-p/1701263#M53693</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;from this code which field you are not getting in front end??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;max&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 21:06:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Creating-amp-Using-A-New-Dimension-viaLoad-Script/m-p/1701263#M53693</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2020-05-12T21:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: Creating &amp; Using A New Dimension viaLoad Script</title>
      <link>https://community.qlik.com/t5/App-Development/Creating-amp-Using-A-New-Dimension-viaLoad-Script/m-p/1701264#M53694</link>
      <description>&lt;P&gt;can you post your complete code over here? if you are getting any error during reload then share that too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;max&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 21:08:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Creating-amp-Using-A-New-Dimension-viaLoad-Script/m-p/1701264#M53694</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2020-05-12T21:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: Creating &amp; Using A New Dimension viaLoad Script</title>
      <link>https://community.qlik.com/t5/App-Development/Creating-amp-Using-A-New-Dimension-viaLoad-Script/m-p/1701267#M53695</link>
      <description>&lt;P&gt;I could not see the 'New Segment' as a dimension in front end in any chart.&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 21:20:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Creating-amp-Using-A-New-Dimension-viaLoad-Script/m-p/1701267#M53695</guid>
      <dc:creator>AycaAltiparmak</dc:creator>
      <dc:date>2020-05-12T21:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: Creating &amp; Using A New Dimension viaLoad Script</title>
      <link>https://community.qlik.com/t5/App-Development/Creating-amp-Using-A-New-Dimension-viaLoad-Script/m-p/1701269#M53696</link>
      <description>&lt;P&gt;My aim is to create a new dimension by using a current dimension- field name PRDHA. I created if conditions in the above code but still could not see the dimension in front end.&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 21:23:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Creating-amp-Using-A-New-Dimension-viaLoad-Script/m-p/1701269#M53696</guid>
      <dc:creator>AycaAltiparmak</dc:creator>
      <dc:date>2020-05-12T21:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: Creating &amp; Using A New Dimension viaLoad Script</title>
      <link>https://community.qlik.com/t5/App-Development/Creating-amp-Using-A-New-Dimension-viaLoad-Script/m-p/1701270#M53697</link>
      <description>&lt;P&gt;did you reload dashboard after you modified the script. If yes then take filter pane from left panel. and add new segment in it.&lt;/P&gt;&lt;P&gt;you will also find that field in left Field section.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;max&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 21:24:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Creating-amp-Using-A-New-Dimension-viaLoad-Script/m-p/1701270#M53697</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2020-05-12T21:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: Creating &amp; Using A New Dimension viaLoad Script</title>
      <link>https://community.qlik.com/t5/App-Development/Creating-amp-Using-A-New-Dimension-viaLoad-Script/m-p/1701271#M53698</link>
      <description>&lt;P&gt;I got that just reload the dashboard and see .&lt;/P&gt;&lt;P&gt;By the way you can wildmatch() or match() to reduce if condition. for more details see in help menu&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;max&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 21:26:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Creating-amp-Using-A-New-Dimension-viaLoad-Script/m-p/1701271#M53698</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2020-05-12T21:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: Creating &amp; Using A New Dimension viaLoad Script</title>
      <link>https://community.qlik.com/t5/App-Development/Creating-amp-Using-A-New-Dimension-viaLoad-Script/m-p/1701305#M53700</link>
      <description>&lt;P&gt;I believe you renamed your new Dimension as "&lt;STRONG&gt;NewSegment&lt;/STRONG&gt;" without space, and remove last line of "&lt;SPAN&gt;Load NewSegment;", which seems not necessary.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Also, suggest you using match to reduce OR inside IF statement as below,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Load PRDHA,
if(Match(left(PRDHA,2), 'BA','BC','BD','BM','BN','BY','BZ')&amp;gt;0,'FDO',
   if(Match(left(PRDHA,2), '3F','3P')&amp;gt;0,'FS',
      if(Match(left(PRDHA,2), 'BB','BE','BG','BH','BK','BL','BO','BP','BQ','BR','BS','BU','BW','BF')&amp;gt;0,'SRA','Other')
   )
) AS NewSegment
From [DATALOCATION];&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 May 2020 00:36:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Creating-amp-Using-A-New-Dimension-viaLoad-Script/m-p/1701305#M53700</guid>
      <dc:creator>Angela_Zhou</dc:creator>
      <dc:date>2020-05-13T00:36:36Z</dc:date>
    </item>
  </channel>
</rss>

