<?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: Why is this easy formula not working for me? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Why-is-this-easy-formula-not-working-for-me/m-p/2429643#M96451</link>
    <description>&lt;P&gt;No, it did not change anything , still showing the "-" &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Mar 2024 08:28:14 GMT</pubDate>
    <dc:creator>Nemo1</dc:creator>
    <dc:date>2024-03-12T08:28:14Z</dc:date>
    <item>
      <title>Why is this easy formula not working for me?</title>
      <link>https://community.qlik.com/t5/App-Development/Why-is-this-easy-formula-not-working-for-me/m-p/2429636#M96448</link>
      <description>&lt;P&gt;Hello dear developers,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying an easy formula but somehow it is not working out for me.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am setting up a table, and it is showing a dimension, where many values are null values, so an ugly "-" is displayed. Instead of that, I would like to have a legend.&lt;/P&gt;
&lt;P&gt;This is the formula I am using:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;=&amp;nbsp;if(IsNull(Vendor), 'No vendor', Vendor)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;any help is appreciated! &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 21:02:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Why-is-this-easy-formula-not-working-for-me/m-p/2429636#M96448</guid>
      <dc:creator>Nemo1</dc:creator>
      <dc:date>2024-11-15T21:02:02Z</dc:date>
    </item>
    <item>
      <title>Re: Why is this easy formula not working for me?</title>
      <link>https://community.qlik.com/t5/App-Development/Why-is-this-easy-formula-not-working-for-me/m-p/2429639#M96450</link>
      <description>&lt;P&gt;Hello, I think this might work&lt;BR /&gt;&lt;BR /&gt;Coalesce(&lt;SPAN&gt;Vendor&lt;/SPAN&gt;,'No Vendor')&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2024 08:21:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Why-is-this-easy-formula-not-working-for-me/m-p/2429639#M96450</guid>
      <dc:creator>Clement15</dc:creator>
      <dc:date>2024-03-12T08:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: Why is this easy formula not working for me?</title>
      <link>https://community.qlik.com/t5/App-Development/Why-is-this-easy-formula-not-working-for-me/m-p/2429643#M96451</link>
      <description>&lt;P&gt;No, it did not change anything , still showing the "-" &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2024 08:28:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Why-is-this-easy-formula-not-working-for-me/m-p/2429643#M96451</guid>
      <dc:creator>Nemo1</dc:creator>
      <dc:date>2024-03-12T08:28:14Z</dc:date>
    </item>
    <item>
      <title>Re: Why is this easy formula not working for me?</title>
      <link>https://community.qlik.com/t5/App-Development/Why-is-this-easy-formula-not-working-for-me/m-p/2429646#M96453</link>
      <description>&lt;P&gt;The formula works, although I would use this one instead so you can select filters from the table:&lt;/P&gt;
&lt;PRE&gt;=Aggr(If(IsNull(Vendor), 'No vendor', Vendor), Vendor)&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;Why it is not working for you I don't know. Here are a few things you can try:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Check whether the "-" is actually NULL or whether it is a string&lt;/LI&gt;
&lt;LI&gt;Fill the NULL values in the script. There are several options:
&lt;UL&gt;
&lt;LI&gt;Use NullAsValue to replace the missing values (see code below)&lt;/LI&gt;
&lt;LI&gt;Use your expression in the script&lt;/LI&gt;
&lt;LI&gt;If vendors are linked to a fact table via an ID, add a new ID for missing vendors (e.g. -1) and concatenate a corresponding row to the vendor table.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;LI-CODE lang="markup"&gt;NullAsValue Vendor;
Set NullValue = No vendor;

// Load the final field here

NullAsNull;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2024 08:36:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Why-is-this-easy-formula-not-working-for-me/m-p/2429646#M96453</guid>
      <dc:creator>LRuCelver</dc:creator>
      <dc:date>2024-03-12T08:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: Why is this easy formula not working for me?</title>
      <link>https://community.qlik.com/t5/App-Development/Why-is-this-easy-formula-not-working-for-me/m-p/2429652#M96455</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/285717"&gt;@Nemo1&lt;/a&gt;&amp;nbsp;Null is different from a blank, and I prefer handling this differentiation at the backend.&lt;/P&gt;
&lt;P&gt;If(Len(Trim(Vendor)), Vendor, 'No Vendor') as Vendor&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2024 08:52:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Why-is-this-easy-formula-not-working-for-me/m-p/2429652#M96455</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2024-03-12T08:52:39Z</dc:date>
    </item>
    <item>
      <title>Re: Why is this easy formula not working for me?</title>
      <link>https://community.qlik.com/t5/App-Development/Why-is-this-easy-formula-not-working-for-me/m-p/2429667#M96457</link>
      <description>&lt;P&gt;Try this&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If(Len(Trim(Vendor))=0, 'No Vendor', 'Vendor')&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2024 09:08:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Why-is-this-easy-formula-not-working-for-me/m-p/2429667#M96457</guid>
      <dc:creator>Nagaraju_KCS</dc:creator>
      <dc:date>2024-03-12T09:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: Why is this easy formula not working for me?</title>
      <link>https://community.qlik.com/t5/App-Development/Why-is-this-easy-formula-not-working-for-me/m-p/2429670#M96458</link>
      <description>&lt;P&gt;It did work, thanks!!&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2024 09:11:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Why-is-this-easy-formula-not-working-for-me/m-p/2429670#M96458</guid>
      <dc:creator>Nemo1</dc:creator>
      <dc:date>2024-03-12T09:11:04Z</dc:date>
    </item>
  </channel>
</rss>

