<?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 Same field shows different value in 2 charts in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Same-field-shows-different-value-in-2-charts/m-p/2106392#M90334</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am facing an exciting enigma in Qlik, and I hope someone can advise a solution / workaround.&lt;/P&gt;
&lt;P&gt;I have a field with lots of values that I categorize into 5 buckets with using simply nested if statements&amp;nbsp; - dual() values assigned for those groups.&lt;/P&gt;
&lt;P&gt;Then I am expected to use this data in a pivot chart where the main dimension is a valuelist() and the sub dimension is one of 3 bucket fields depending on the valuelist() dimension's value.&lt;/P&gt;
&lt;P&gt;It worked good, when I created the logic several weeks ago and now I got a complaint that something was wrong with this pivot table - for some reason one of the bucket fields are not properly displayed =&amp;gt; the "label" part of the dual value is not properly displayed: dual('0',1) is displayed as 1, next bucket is dual('1',2), then dual('range1',3) etc.&lt;/P&gt;
&lt;P&gt;If I use the same field and filter the "parent" field to 0 where the bucket value shall be this dual('0',1) then I get the proper 0 displayed, while pivot remains corrupted...&lt;/P&gt;
&lt;P&gt;Do you have any idea, workaround for such bug?&lt;/P&gt;
&lt;P&gt;Thanks and best regards,&lt;/P&gt;
&lt;P&gt;Levente&lt;/P&gt;</description>
    <pubDate>Wed, 16 Aug 2023 14:38:24 GMT</pubDate>
    <dc:creator>levente81</dc:creator>
    <dc:date>2023-08-16T14:38:24Z</dc:date>
    <item>
      <title>Same field shows different value in 2 charts</title>
      <link>https://community.qlik.com/t5/App-Development/Same-field-shows-different-value-in-2-charts/m-p/2106392#M90334</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am facing an exciting enigma in Qlik, and I hope someone can advise a solution / workaround.&lt;/P&gt;
&lt;P&gt;I have a field with lots of values that I categorize into 5 buckets with using simply nested if statements&amp;nbsp; - dual() values assigned for those groups.&lt;/P&gt;
&lt;P&gt;Then I am expected to use this data in a pivot chart where the main dimension is a valuelist() and the sub dimension is one of 3 bucket fields depending on the valuelist() dimension's value.&lt;/P&gt;
&lt;P&gt;It worked good, when I created the logic several weeks ago and now I got a complaint that something was wrong with this pivot table - for some reason one of the bucket fields are not properly displayed =&amp;gt; the "label" part of the dual value is not properly displayed: dual('0',1) is displayed as 1, next bucket is dual('1',2), then dual('range1',3) etc.&lt;/P&gt;
&lt;P&gt;If I use the same field and filter the "parent" field to 0 where the bucket value shall be this dual('0',1) then I get the proper 0 displayed, while pivot remains corrupted...&lt;/P&gt;
&lt;P&gt;Do you have any idea, workaround for such bug?&lt;/P&gt;
&lt;P&gt;Thanks and best regards,&lt;/P&gt;
&lt;P&gt;Levente&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 14:38:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Same-field-shows-different-value-in-2-charts/m-p/2106392#M90334</guid>
      <dc:creator>levente81</dc:creator>
      <dc:date>2023-08-16T14:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: Same field shows different value in 2 charts</title>
      <link>https://community.qlik.com/t5/App-Development/Same-field-shows-different-value-in-2-charts/m-p/2106401#M90336</link>
      <description>&lt;P&gt;It's really difficult to guess what might be wrong there. If you can, post a sample app that shows this behavior.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 14:50:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Same-field-shows-different-value-in-2-charts/m-p/2106401#M90336</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2023-08-16T14:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: Same field shows different value in 2 charts</title>
      <link>https://community.qlik.com/t5/App-Development/Same-field-shows-different-value-in-2-charts/m-p/2106433#M90341</link>
      <description>&lt;P&gt;I don't think that there is any bug else that the data have changed and aren't unique anymore - in regard to the applied dual(). This means it's quite likely that there are now multiple string-values for the same numeric value.&lt;/P&gt;
&lt;P&gt;Beside this I suggest to replace the valuelist() with the field-values from an island-table. It wouldn't only simplify the chart-dimension else even more the expressions and an island-table mustn't be just a single field else it might be several ones with a grouping and extra information. Further such native fields could now be used within TOTAL statements and/or aggr() constructs. Probably there are some more benefits ...&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 15:46:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Same-field-shows-different-value-in-2-charts/m-p/2106433#M90341</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2023-08-16T15:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: Same field shows different value in 2 charts</title>
      <link>https://community.qlik.com/t5/App-Development/Same-field-shows-different-value-in-2-charts/m-p/2106750#M90377</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="levente81_0-1692276468103.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/114629i482C441D1CF7D244/image-size/medium?v=v2&amp;amp;px=400" role="button" title="levente81_0-1692276468103.png" alt="levente81_0-1692276468103.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Hi Marcus,&lt;/P&gt;
&lt;P&gt;I do not think it is a data update issue that certain dimension is displayed:&lt;/P&gt;
&lt;P&gt;- properly in a filter pane&lt;/P&gt;
&lt;P&gt;- erroneously in a pivot table&lt;/P&gt;
&lt;P&gt;at the same time...&lt;/P&gt;
&lt;P&gt;If plain field value is 0 then bucket field value is dual('0',1)&lt;/P&gt;
&lt;P&gt;If plain field value is 1 then bucket field value is dual('1',2)&lt;/P&gt;
&lt;P&gt;... this logic is used to create in DLE the bucket field that is displayed erroneously in pivot table.&amp;nbsp; I see no reasonable situation where such expression shall result dual('1',2) - please check the screenshot: I have a filter on the plain field...&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2023 12:55:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Same-field-shows-different-value-in-2-charts/m-p/2106750#M90377</guid>
      <dc:creator>levente81</dc:creator>
      <dc:date>2023-08-17T12:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: Same field shows different value in 2 charts</title>
      <link>https://community.qlik.com/t5/App-Development/Same-field-shows-different-value-in-2-charts/m-p/2106800#M90386</link>
      <description>&lt;P&gt;That's not mandatory the same because the filter pane showed only distinct values&amp;nbsp; from a single field against a certain state while the pivot may enforce a cartesian view and consider multiple states - and both may also have different sorting-options.&lt;/P&gt;
&lt;P&gt;Further both types of objects are limited to the capability to show all field-values and their relationship against each other. More suitable would be to use a table-box which also includes unique ID's from all related tables. If none exists they could be created with recno() and/or rowno(). Because of the fact that you are dealing with dual() you may further add a table-chart to be able to query the dual-fields with num() and text() on the lowest granularity and maybe also with count() and concat() on any higher views.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2023 14:04:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Same-field-shows-different-value-in-2-charts/m-p/2106800#M90386</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2023-08-17T14:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: Same field shows different value in 2 charts</title>
      <link>https://community.qlik.com/t5/App-Development/Same-field-shows-different-value-in-2-charts/m-p/2111402#M90781</link>
      <description>&lt;P&gt;It was a temporary bug - it got solved without any modification.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2023 13:17:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Same-field-shows-different-value-in-2-charts/m-p/2111402#M90781</guid>
      <dc:creator>levente81</dc:creator>
      <dc:date>2023-08-30T13:17:52Z</dc:date>
    </item>
  </channel>
</rss>

