<?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 Changing null from '-' using text in chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Changing-null-from-using-text-in-chart/m-p/328059#M1194928</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm working on an ERP dashboard and need to change the value of text-in-chart for my gauge chart from '-' to 'No Selection' as the users find it confusing when no field is selected, I've tried to implement an = If statement&amp;nbsp; but can't seem to get it to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the current expression: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(IsNull(GetCurrentField([SH Group]), 'No Selection', Num($(Rule1Dial),'#,##0.00%')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The default Null display is still '-' and my calculation no longer runs, however when the expression just reads&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Num($(Rule1Dial),'#,##0.00%')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the correct weighted percentage, but the Null value is still a hyphen. Would appreciate any help.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000; font-size: 8pt;"&gt;&lt;STRONG style="color: #ff0000; font-size: 8pt;"&gt; &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;SPAN style="color: #ff0000; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt; &lt;/EM&gt;&lt;/EM&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000; font-size: 8pt;"&gt;&lt;STRONG style="color: #ff0000; font-size: 8pt;"&gt; &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt; &lt;/EM&gt;&lt;/EM&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;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt; &lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 May 2011 20:17:24 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-05-25T20:17:24Z</dc:date>
    <item>
      <title>Changing null from '-' using text in chart</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-null-from-using-text-in-chart/m-p/328059#M1194928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm working on an ERP dashboard and need to change the value of text-in-chart for my gauge chart from '-' to 'No Selection' as the users find it confusing when no field is selected, I've tried to implement an = If statement&amp;nbsp; but can't seem to get it to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the current expression: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(IsNull(GetCurrentField([SH Group]), 'No Selection', Num($(Rule1Dial),'#,##0.00%')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The default Null display is still '-' and my calculation no longer runs, however when the expression just reads&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Num($(Rule1Dial),'#,##0.00%')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the correct weighted percentage, but the Null value is still a hyphen. Would appreciate any help.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000; font-size: 8pt;"&gt;&lt;STRONG style="color: #ff0000; font-size: 8pt;"&gt; &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;SPAN style="color: #ff0000; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt; &lt;/EM&gt;&lt;/EM&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000; font-size: 8pt;"&gt;&lt;STRONG style="color: #ff0000; font-size: 8pt;"&gt; &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt; &lt;/EM&gt;&lt;/EM&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;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt; &lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2011 20:17:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-null-from-using-text-in-chart/m-p/328059#M1194928</guid>
      <dc:creator />
      <dc:date>2011-05-25T20:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: Changing null from '-' using text in chart</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-null-from-using-text-in-chart/m-p/328060#M1194929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;=if(len($(Rule1Dial)),num($(Rule1Dial),'#,##0.00%'),'No Selection')&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2011 22:58:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-null-from-using-text-in-chart/m-p/328060#M1194929</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-05-25T22:58:21Z</dc:date>
    </item>
    <item>
      <title>Changing null from '-' using text in chart</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-null-from-using-text-in-chart/m-p/328061#M1194930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I like John's solution. However I'll point out that getCurrentField() is probably the wrong function to use in your test. GetCurrentField returns the current field of a group -- which would never be null.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2011 23:31:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-null-from-using-text-in-chart/m-p/328061#M1194930</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2011-05-25T23:31:27Z</dc:date>
    </item>
    <item>
      <title>Changing null from '-' using text in chart</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-null-from-using-text-in-chart/m-p/328062#M1194931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Let me tell you one thing about your expression that you have missed one ')' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; You can use the below expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =If(IsNull(GetFieldSelections([SH Group])), 'No Selection', Num($(Rule1Dial),'#,##0.00%'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Here if the selection in SH Group is null then it will return No Selection or else the Num($(Rule1Dial),'#,##0.00%')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2011 06:43:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-null-from-using-text-in-chart/m-p/328062#M1194931</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2011-05-26T06:43:42Z</dc:date>
    </item>
    <item>
      <title>Changing null from '-' using text in chart</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-null-from-using-text-in-chart/m-p/328063#M1194932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thank you guys, works great now&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2011 12:53:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-null-from-using-text-in-chart/m-p/328063#M1194932</guid>
      <dc:creator />
      <dc:date>2011-05-26T12:53:44Z</dc:date>
    </item>
  </channel>
</rss>

