<?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: Dimension of type dual in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Dimension-of-type-dual/m-p/2145287#M93191</link>
    <description>&lt;P&gt;hello&lt;BR /&gt;there are no rows with null values&lt;BR /&gt;the if else cover all possible cases&lt;/P&gt;</description>
    <pubDate>Thu, 07 Dec 2023 13:37:04 GMT</pubDate>
    <dc:creator>ali_hijazi</dc:creator>
    <dc:date>2023-12-07T13:37:04Z</dc:date>
    <item>
      <title>Dimension of type dual</title>
      <link>https://community.qlik.com/t5/App-Development/Dimension-of-type-dual/m-p/2145268#M93187</link>
      <description>&lt;P&gt;Hello&lt;BR /&gt;I'm preparing a dimension in the script as follows:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ali_hijazi_0-1701951806298.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/121205iE1911DDAF428DD02/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ali_hijazi_0-1701951806298.png" alt="ali_hijazi_0-1701951806298.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;when I use it in a pivot table I'm not getting the descriptions, but the number values&lt;BR /&gt;how to display text value of this dimension?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ali_hijazi_1-1701951911180.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/121206i1A21977948F3442E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ali_hijazi_1-1701951911180.png" alt="ali_hijazi_1-1701951911180.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2023 12:53:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dimension-of-type-dual/m-p/2145268#M93187</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2023-12-07T12:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension of type dual</title>
      <link>https://community.qlik.com/t5/App-Development/Dimension-of-type-dual/m-p/2145273#M93189</link>
      <description>&lt;P&gt;I think this happens when the numeric aspect of your dual field includes nulls. I'd suggest replacing the null with e.g. Dual(Null(),-999) which should then use the text portion.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2023 13:01:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dimension-of-type-dual/m-p/2145273#M93189</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2023-12-07T13:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension of type dual</title>
      <link>https://community.qlik.com/t5/App-Development/Dimension-of-type-dual/m-p/2145287#M93191</link>
      <description>&lt;P&gt;hello&lt;BR /&gt;there are no rows with null values&lt;BR /&gt;the if else cover all possible cases&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2023 13:37:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dimension-of-type-dual/m-p/2145287#M93191</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2023-12-07T13:37:04Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension of type dual</title>
      <link>https://community.qlik.com/t5/App-Development/Dimension-of-type-dual/m-p/2145288#M93192</link>
      <description>&lt;P&gt;Your screen capture is clearly showing that there is a null, and there's clearly a null() at the end of your outermost if() statement..?&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2023 13:39:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dimension-of-type-dual/m-p/2145288#M93192</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2023-12-07T13:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension of type dual</title>
      <link>https://community.qlik.com/t5/App-Development/Dimension-of-type-dual/m-p/2145352#M93198</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6142"&gt;@Or&lt;/a&gt;&amp;nbsp; is right, this is due to your NULL value, and more precisely, to the fact that this value is the first one encountered by the script when loading the data.&lt;BR /&gt;&lt;BR /&gt;If you are doing something like this:&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;testtable:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Load dual('test',1) as test autogenerate 1;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Load null() as test autogenerate 1;&lt;/FONT&gt;&lt;BR /&gt;[test] will be displayed with the label.&lt;BR /&gt;&lt;BR /&gt;If you are doing this:&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;testtable:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Load null() as test autogenerate 1;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Load dual('test',1) as test autogenerate 1;&lt;/FONT&gt;&lt;BR /&gt;[test] will be displayed as a number.&lt;BR /&gt;&lt;BR /&gt;So use the trick given by&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6142"&gt;@Or&lt;/a&gt;&amp;nbsp;or sort your data.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2023 15:13:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dimension-of-type-dual/m-p/2145352#M93198</guid>
      <dc:creator>vincent_ardiet_</dc:creator>
      <dc:date>2023-12-07T15:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension of type dual</title>
      <link>https://community.qlik.com/t5/App-Development/Dimension-of-type-dual/m-p/2145356#M93201</link>
      <description>&lt;P&gt;My expression is something like:&lt;BR /&gt;sum(&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;&amp;lt;condition1&amp;gt;&lt;BR /&gt;+&lt;BR /&gt;&amp;lt;condition2&amp;gt;&lt;BR /&gt;}&lt;BR /&gt;field&lt;BR /&gt;)&lt;BR /&gt;condition 1 returns all that do not have values&lt;BR /&gt;condition 2 returns all that have values&lt;BR /&gt;under condition 2 no records have null for this dimension&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2023 15:15:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dimension-of-type-dual/m-p/2145356#M93201</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2023-12-07T15:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension of type dual</title>
      <link>https://community.qlik.com/t5/App-Development/Dimension-of-type-dual/m-p/2145359#M93202</link>
      <description>&lt;P&gt;And yet your screen capture is clearly showing that the dimension has null values...&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Or_0-1701962250167.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/121223i5661D6F670FD8195/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Or_0-1701962250167.png" alt="Or_0-1701962250167.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2023 15:17:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dimension-of-type-dual/m-p/2145359#M93202</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2023-12-07T15:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension of type dual</title>
      <link>https://community.qlik.com/t5/App-Development/Dimension-of-type-dual/m-p/2145360#M93203</link>
      <description>&lt;P&gt;yeah but not in the script&lt;BR /&gt;but the result of the expression&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2023 15:18:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dimension-of-type-dual/m-p/2145360#M93203</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2023-12-07T15:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension of type dual</title>
      <link>https://community.qlik.com/t5/App-Development/Dimension-of-type-dual/m-p/2145363#M93204</link>
      <description>&lt;P&gt;Sorry, I'm afraid one of us isn't understanding what the other is saying...&lt;/P&gt;
&lt;P&gt;If you've tried my suggestion and it didn't work, then perhaps you need to supply more information and/or a sample app demonstrating the issue.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2023 15:22:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dimension-of-type-dual/m-p/2145363#M93204</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2023-12-07T15:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension of type dual</title>
      <link>https://community.qlik.com/t5/App-Development/Dimension-of-type-dual/m-p/2145373#M93205</link>
      <description>&lt;P&gt;Try to replace the &lt;FONT face="courier new,courier"&gt;Null()&lt;/FONT&gt;&amp;nbsp;expression below with&amp;nbsp;&lt;SPAN&gt;&lt;FONT face="courier new,courier"&gt;Dual(Null(),-999)&lt;/FONT&gt;&amp;nbsp;like suggested&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vincent_ardiet__0-1701962711655.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/121229i207CDEAE58A584E6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vincent_ardiet__0-1701962711655.png" alt="vincent_ardiet__0-1701962711655.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2023 15:27:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dimension-of-type-dual/m-p/2145373#M93205</guid>
      <dc:creator>vincent_ardiet_</dc:creator>
      <dc:date>2023-12-07T15:27:26Z</dc:date>
    </item>
  </channel>
</rss>

