<?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: When string declared static string in stored procedure, loses formatting in Qlik in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/When-string-declared-static-string-in-stored-procedure-loses/m-p/1338554#M844651</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share some screenshots of the data and issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Apr 2017 14:58:45 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-04-04T14:58:45Z</dc:date>
    <item>
      <title>When string declared static string in stored procedure, loses formatting in Qlik</title>
      <link>https://community.qlik.com/t5/QlikView/When-string-declared-static-string-in-stored-procedure-loses/m-p/1338553#M844650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I currently load from a stored procedure. Recently, the strings in a particular field were declared as static strings in the database. I use these strings to format numbers in Qlik (e.g., if (Category = 'Bananas'), Num(Sum(Value), '#,##0').)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, the values don't populate in my table so &lt;SPAN style="font-size: 13.3333px;"&gt;if (Category = 'Bananas'), Num(Sum(Value), '#,##0') = null because the if condition is ostensibly not satisfied.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The field still comes in accurately and is associated with the correct values. It seems like the field values are not read in correctly just when an if statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone run into this issue before and found a workaround? I've tried wrapping the field in Text() and re mapping the values with no luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/When-string-declared-static-string-in-stored-procedure-loses/m-p/1338553#M844650</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: When string declared static string in stored procedure, loses formatting in Qlik</title>
      <link>https://community.qlik.com/t5/QlikView/When-string-declared-static-string-in-stored-procedure-loses/m-p/1338554#M844651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share some screenshots of the data and issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Apr 2017 14:58:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/When-string-declared-static-string-in-stored-procedure-loses/m-p/1338554#M844651</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-04T14:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: When string declared static string in stored procedure, loses formatting in Qlik</title>
      <link>https://community.qlik.com/t5/QlikView/When-string-declared-static-string-in-stored-procedure-loses/m-p/1338555#M844652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately, the data is confidential so I can't. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The strings appear exactly how a normal string would appear in Qlik and they respond to list box selections as normal. The only problem that I'm seeing is when used in an if statement, Qlik doesn't read in the condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Apr 2017 15:13:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/When-string-declared-static-string-in-stored-procedure-loses/m-p/1338555#M844652</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-04T15:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: When string declared static string in stored procedure, loses formatting in Qlik</title>
      <link>https://community.qlik.com/t5/QlikView/When-string-declared-static-string-in-stored-procedure-loses/m-p/1338556#M844653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Am not sure if wats happening with the if statement. How about trying &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; if (Match(Category),'Bananas'), Num(Sum(Value), '#,##0').)&lt;/SPAN&gt;??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Apr 2017 04:09:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/When-string-declared-static-string-in-stored-procedure-loses/m-p/1338556#M844653</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-05T04:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: When string declared static string in stored procedure, loses formatting in Qlik</title>
      <link>https://community.qlik.com/t5/QlikView/When-string-declared-static-string-in-stored-procedure-loses/m-p/1338557#M844654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Danelle,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trust that you are doing well!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The desired if statement is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14913683830493224 jive_text_macro" jivemacro_uid="_14913683830493224"&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;if (Trim(&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Category&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;) = '&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Bananas&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;', Num(Sum(&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Value&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;), '#,##0'))&lt;/SPAN&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pleas correct me If I misunderstood.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will be helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Apr 2017 05:00:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/When-string-declared-static-string-in-stored-procedure-loses/m-p/1338557#M844654</guid>
      <dc:creator>rahulpawarb</dc:creator>
      <dc:date>2017-04-05T05:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: When string declared static string in stored procedure, loses formatting in Qlik</title>
      <link>https://community.qlik.com/t5/QlikView/When-string-declared-static-string-in-stored-procedure-loses/m-p/1338558#M844655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;Now, the values don't populate in my table so &lt;SPAN style="font-size: 13.3333px;"&gt;if (Category = 'Bananas'), Num(Sum(Value), '#,##0') = null because the if condition is ostensibly not satisfied.&lt;/SPAN&gt;&lt;/P&gt;

&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Condition is not accuracy, May be like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;&lt;STRONG&gt;If(Category = 'Bananas', Num(Sum(Value), '#,##0')) &lt;/STRONG&gt;// Here, What are you trying with null. would you describe more this part&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Apr 2017 05:20:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/When-string-declared-static-string-in-stored-procedure-loses/m-p/1338558#M844655</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-04-05T05:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: When string declared static string in stored procedure, loses formatting in Qlik</title>
      <link>https://community.qlik.com/t5/QlikView/When-string-declared-static-string-in-stored-procedure-loses/m-p/1338559#M844656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great idea! But, unfortunately, it didn't work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ultimately, we ended up creating a second field that was dual coded and I used the numeric value in the if statement to format the numbers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Apr 2017 14:39:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/When-string-declared-static-string-in-stored-procedure-loses/m-p/1338559#M844656</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-05T14:39:46Z</dc:date>
    </item>
  </channel>
</rss>

