<?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 Issue with LOAD AS when using field as a Dimension in a chart and renaming. in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Issue-with-LOAD-AS-when-using-field-as-a-Dimension-in-a-chart/m-p/1954080#M78680</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;Sorry subject title is a little sketchy, couldn't think of how to word it.&lt;/P&gt;
&lt;P&gt;I have a standard SAP field 'MATKL' (material number.&lt;/P&gt;
&lt;P&gt;I want to create a new dimension relating to what I will call a top level selection of its values.&lt;/P&gt;
&lt;P&gt;The values I want to group all belong with either AL, EL or ST (followed by 3 digits).&lt;/P&gt;
&lt;P&gt;I thought I could create three new fields as below (as well as still keeping the original field);&lt;/P&gt;
&lt;P&gt;[MATKL] AS [ZKPI_PUR_RATIO.MATKL],&lt;BR /&gt;[MATKL] like 'AL*'AS [ZKPI_PUR_RATIO.MATERIAL_AL],&amp;nbsp;&lt;BR /&gt;[MATKL] like 'EL*'AS [ZKPI_PUR_RATIO.MATERIAL_EL],&amp;nbsp;&lt;BR /&gt;[MATKL] like 'ST*'AS [ZKPI_PUR_RATIO.MATERIAL_ST],&lt;/P&gt;
&lt;P&gt;Fine, So I created a new master dimension as;&lt;/P&gt;
&lt;P&gt;=[ZKPI_PUR_RATIO.MATERIAL_AL]&amp;amp;[ZKPI_PUR_RATIO.MATERIAL_EL]&amp;amp;[ZKPI_PUR_RATIO.MATERIAL_ST]&lt;/P&gt;
&lt;P&gt;And dropped this into a pie chart as a dimension and he measure was a simple sum of value field.&lt;/P&gt;
&lt;P&gt;However, the naming it then uses is something different and I am assuming the fourth slice is relating to others (although ticking or not ticking 'others' makes no difference to the chart).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Daryn_0-1657548887665.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/83818i66CCDA1A90137F73/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Daryn_0-1657548887665.png" alt="Daryn_0-1657548887665.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;So I tried with just one of those new fields and no different.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Daryn_1-1657548986130.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/83819iF9FA1454ABBF85D0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Daryn_1-1657548986130.png" alt="Daryn_1-1657548986130.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;And again ticking or unticking 'Others' does not change anything on the chart..&lt;/P&gt;
&lt;P&gt;What I really want in that first image is for the slices to show as 'AL' , 'EL'&amp;nbsp; and&amp;nbsp; 'ST'&lt;/P&gt;
&lt;P&gt;Thanks in advance for your help/guidance, as always it's appreciated.&lt;/P&gt;
&lt;P&gt;Regards Daryn&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 11 Jul 2022 14:18:42 GMT</pubDate>
    <dc:creator>Daryn</dc:creator>
    <dc:date>2022-07-11T14:18:42Z</dc:date>
    <item>
      <title>Issue with LOAD AS when using field as a Dimension in a chart and renaming.</title>
      <link>https://community.qlik.com/t5/App-Development/Issue-with-LOAD-AS-when-using-field-as-a-Dimension-in-a-chart/m-p/1954080#M78680</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;Sorry subject title is a little sketchy, couldn't think of how to word it.&lt;/P&gt;
&lt;P&gt;I have a standard SAP field 'MATKL' (material number.&lt;/P&gt;
&lt;P&gt;I want to create a new dimension relating to what I will call a top level selection of its values.&lt;/P&gt;
&lt;P&gt;The values I want to group all belong with either AL, EL or ST (followed by 3 digits).&lt;/P&gt;
&lt;P&gt;I thought I could create three new fields as below (as well as still keeping the original field);&lt;/P&gt;
&lt;P&gt;[MATKL] AS [ZKPI_PUR_RATIO.MATKL],&lt;BR /&gt;[MATKL] like 'AL*'AS [ZKPI_PUR_RATIO.MATERIAL_AL],&amp;nbsp;&lt;BR /&gt;[MATKL] like 'EL*'AS [ZKPI_PUR_RATIO.MATERIAL_EL],&amp;nbsp;&lt;BR /&gt;[MATKL] like 'ST*'AS [ZKPI_PUR_RATIO.MATERIAL_ST],&lt;/P&gt;
&lt;P&gt;Fine, So I created a new master dimension as;&lt;/P&gt;
&lt;P&gt;=[ZKPI_PUR_RATIO.MATERIAL_AL]&amp;amp;[ZKPI_PUR_RATIO.MATERIAL_EL]&amp;amp;[ZKPI_PUR_RATIO.MATERIAL_ST]&lt;/P&gt;
&lt;P&gt;And dropped this into a pie chart as a dimension and he measure was a simple sum of value field.&lt;/P&gt;
&lt;P&gt;However, the naming it then uses is something different and I am assuming the fourth slice is relating to others (although ticking or not ticking 'others' makes no difference to the chart).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Daryn_0-1657548887665.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/83818i66CCDA1A90137F73/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Daryn_0-1657548887665.png" alt="Daryn_0-1657548887665.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;So I tried with just one of those new fields and no different.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Daryn_1-1657548986130.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/83819iF9FA1454ABBF85D0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Daryn_1-1657548986130.png" alt="Daryn_1-1657548986130.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;And again ticking or unticking 'Others' does not change anything on the chart..&lt;/P&gt;
&lt;P&gt;What I really want in that first image is for the slices to show as 'AL' , 'EL'&amp;nbsp; and&amp;nbsp; 'ST'&lt;/P&gt;
&lt;P&gt;Thanks in advance for your help/guidance, as always it's appreciated.&lt;/P&gt;
&lt;P&gt;Regards Daryn&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2022 14:18:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issue-with-LOAD-AS-when-using-field-as-a-Dimension-in-a-chart/m-p/1954080#M78680</guid>
      <dc:creator>Daryn</dc:creator>
      <dc:date>2022-07-11T14:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with LOAD AS when using field as a Dimension in a chart and renaming.</title>
      <link>https://community.qlik.com/t5/App-Development/Issue-with-LOAD-AS-when-using-field-as-a-Dimension-in-a-chart/m-p/1954328#M78707</link>
      <description>&lt;P&gt;I don't think you want to create three new fields for this requirement. A more straightforward approach may be to just create a single field like:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;Left([MATKL], 2) as Group&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;and then use Group as your dimension.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you only want to Group AL/SL/ST and exclude other MATKL values you could do:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;If (WildMatch([MATKL],&amp;nbsp;&amp;nbsp;'AL*', 'SL*', 'ST*'),&amp;nbsp;Left([MATKL], 2) as Group&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The non matches would have Null for group. Or you could assign an "Others" value&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;-Rob&lt;BR /&gt;&lt;A href="http://www.easyqlik.com" target="_blank"&gt;http://www.easyqlik.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://masterssummit.com" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://qlikviewcookbook.com" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2022 00:36:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issue-with-LOAD-AS-when-using-field-as-a-Dimension-in-a-chart/m-p/1954328#M78707</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2022-07-12T00:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with LOAD AS when using field as a Dimension in a chart and renaming.</title>
      <link>https://community.qlik.com/t5/App-Development/Issue-with-LOAD-AS-when-using-field-as-a-Dimension-in-a-chart/m-p/1954393#M78712</link>
      <description>&lt;P&gt;Hi Rob,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you very much for taking the time to look at my issue and assist.&lt;/P&gt;
&lt;P&gt;What you have said makes sense, however it seems to have an issue with the 'as' at the end?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Daryn_0-1657611135221.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/83883i5CE12FE8D0C82091/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Daryn_0-1657611135221.png" alt="Daryn_0-1657611135221.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Am I missing something (I will blame the heat if I am) &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Again, thank you, I appreciate everyone's time is valuable to them.&lt;/P&gt;
&lt;P&gt;Regards Daryn&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2022 07:33:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issue-with-LOAD-AS-when-using-field-as-a-Dimension-in-a-chart/m-p/1954393#M78712</guid>
      <dc:creator>Daryn</dc:creator>
      <dc:date>2022-07-12T07:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with LOAD AS when using field as a Dimension in a chart and renaming.</title>
      <link>https://community.qlik.com/t5/App-Development/Issue-with-LOAD-AS-when-using-field-as-a-Dimension-in-a-chart/m-p/1954409#M78714</link>
      <description>&lt;P&gt;HI&lt;/P&gt;
&lt;P&gt;One more bracket need to include.. try like below&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If (WildMatch([MATKL],&amp;nbsp;&amp;nbsp;'AL*', 'SL*', 'ST*'),&amp;nbsp;Left([MATKL], 2)&lt;STRONG&gt;)&lt;/STRONG&gt; as Group&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2022 08:01:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issue-with-LOAD-AS-when-using-field-as-a-Dimension-in-a-chart/m-p/1954409#M78714</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2022-07-12T08:01:44Z</dc:date>
    </item>
  </channel>
</rss>

