<?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 INLINE - want unused values to be clickable, not null in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/INLINE-want-unused-values-to-be-clickable-not-null/m-p/172645#M42126</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok -&lt;/P&gt;&lt;P&gt;lets say you current script is like this:&lt;/P&gt;&lt;P&gt;LOAD a, b,c from srcfile.qvd;&lt;/P&gt;&lt;P&gt;left join load * inline[&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of doing so...&lt;/P&gt;&lt;P&gt;do this:&lt;/P&gt;&lt;P&gt;mapTable:&lt;/P&gt;&lt;P&gt;mapping load * inline [&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in your main load table...&lt;/P&gt;&lt;P&gt;load a,b,c, applymap('mapTable', a, a) as mappedA from srcfile.qvd;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is assuming that a is the field you want to map and default mapping would be 'a' if unmapped.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know I went thru in vague manner. Let me know if explanation is needed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Nov 2010 22:21:11 GMT</pubDate>
    <dc:creator>boorgura</dc:creator>
    <dc:date>2010-11-04T22:21:11Z</dc:date>
    <item>
      <title>INLINE - want unused values to be clickable, not null</title>
      <link>https://community.qlik.com/t5/QlikView/INLINE-want-unused-values-to-be-clickable-not-null/m-p/172642#M42123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need all unused values to be set to a clickable field. Currently, unused values are set to null.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There exist numeric codes. I used inline to map the corresponding definitions. However, the numeric codes list is growing, so there may be some that are not in my inline "list". I'd like to set these unmapped codes to a blank ( ' ' ) clickable value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my current code:&lt;/P&gt;&lt;P&gt;Note: i already take null code values and set them to a blank value so it is clickable. Just need a similar concept for unmapped codes.&lt;/P&gt;&lt;P&gt;left join load * INLINE [&lt;/P&gt;&lt;P&gt;Code, Desc&lt;/P&gt;&lt;P&gt;' ', ' '&lt;/P&gt;&lt;P&gt;2, French&lt;/P&gt;&lt;P&gt;3, Spanish&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Stephanie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Nov 2010 17:49:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/INLINE-want-unused-values-to-be-clickable-not-null/m-p/172642#M42123</guid>
      <dc:creator />
      <dc:date>2010-11-04T17:49:21Z</dc:date>
    </item>
    <item>
      <title>INLINE - want unused values to be clickable, not null</title>
      <link>https://community.qlik.com/t5/QlikView/INLINE-want-unused-values-to-be-clickable-not-null/m-p/172643#M42124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use applymap instead of left joining it.&lt;/P&gt;&lt;P&gt;load the inline table as:&lt;/P&gt;&lt;P&gt;mapping load * inline [&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;and then use in the Fact table load as:&lt;/P&gt;&lt;P&gt;applymap('Map Name', '&amp;lt;Expr&amp;gt;', 'Defualt mapping') as Output&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: use the Expr as Default mapping - if you want it to show up as is, when unmapped.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Nov 2010 17:53:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/INLINE-want-unused-values-to-be-clickable-not-null/m-p/172643#M42124</guid>
      <dc:creator>boorgura</dc:creator>
      <dc:date>2010-11-04T17:53:56Z</dc:date>
    </item>
    <item>
      <title>INLINE - want unused values to be clickable, not null</title>
      <link>https://community.qlik.com/t5/QlikView/INLINE-want-unused-values-to-be-clickable-not-null/m-p/172644#M42125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Rocky,&lt;/P&gt;&lt;P&gt;thanks so much for your quick response.&lt;/P&gt;&lt;P&gt;I have never used the "Fact table" type of coding that you suggested... and I am not brave on change but I love to learn :), please advise where this code resides.... I assume I simply replace "left" with "mapping" for the actual inline?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steph&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Nov 2010 19:55:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/INLINE-want-unused-values-to-be-clickable-not-null/m-p/172644#M42125</guid>
      <dc:creator />
      <dc:date>2010-11-04T19:55:13Z</dc:date>
    </item>
    <item>
      <title>INLINE - want unused values to be clickable, not null</title>
      <link>https://community.qlik.com/t5/QlikView/INLINE-want-unused-values-to-be-clickable-not-null/m-p/172645#M42126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok -&lt;/P&gt;&lt;P&gt;lets say you current script is like this:&lt;/P&gt;&lt;P&gt;LOAD a, b,c from srcfile.qvd;&lt;/P&gt;&lt;P&gt;left join load * inline[&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of doing so...&lt;/P&gt;&lt;P&gt;do this:&lt;/P&gt;&lt;P&gt;mapTable:&lt;/P&gt;&lt;P&gt;mapping load * inline [&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in your main load table...&lt;/P&gt;&lt;P&gt;load a,b,c, applymap('mapTable', a, a) as mappedA from srcfile.qvd;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is assuming that a is the field you want to map and default mapping would be 'a' if unmapped.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know I went thru in vague manner. Let me know if explanation is needed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Nov 2010 22:21:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/INLINE-want-unused-values-to-be-clickable-not-null/m-p/172645#M42126</guid>
      <dc:creator>boorgura</dc:creator>
      <dc:date>2010-11-04T22:21:11Z</dc:date>
    </item>
    <item>
      <title>INLINE - want unused values to be clickable, not null</title>
      <link>https://community.qlik.com/t5/QlikView/INLINE-want-unused-values-to-be-clickable-not-null/m-p/172646#M42127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Stephanie,&lt;/P&gt;&lt;P&gt;Null values are not always the same in QlikView depending on the actual datasource. In fact, when you load from an inline table, if there is a missing value it's not null, but empty.&lt;/P&gt;&lt;P&gt;You can set the following in your load script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;If(Len(Code) = 0, 1, 0) AS NullFlag,&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;and later in your chart expression something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Count({&amp;lt; NullFlag = {1} &amp;gt;} NullFlag)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;To get the number of records where Code is empty.&lt;/P&gt;&lt;P&gt;Take a look at the MissingCount/RangeMissingCount and NullCount/RangeNullCount in the documentation just in case. These functions are used to count non-text non-numeric values (missing values) within a range of fields.&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Nov 2010 06:49:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/INLINE-want-unused-values-to-be-clickable-not-null/m-p/172646#M42127</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-11-05T06:49:38Z</dc:date>
    </item>
  </channel>
</rss>

