<?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: Number format in dual expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Number-format-in-dual-expression/m-p/547703#M1301577</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, got you. Can you post a sample. From a single dual, it might not be possible in the front-end. Or, you might want to use DUAL over another DUAL to get what you want, something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dual(&lt;STRONG&gt;Num(Dual(Txt, Expression), '##.00#')&lt;/STRONG&gt;, Expression) as Txt_Num_Dual&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note, here the highlighted part would be treaded as text while you will see text and number both.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Oct 2013 09:26:26 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2013-10-30T09:26:26Z</dc:date>
    <item>
      <title>Number format in dual expression</title>
      <link>https://community.qlik.com/t5/QlikView/Number-format-in-dual-expression/m-p/547699#M1301565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm working on a bar chart where the bar chart expression is something like this dual(int,string).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here I want to format integer to #.##0 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried following 2 approaches :&lt;/P&gt;&lt;P&gt;1. In number Tab I tried making it integer. Formatting does work but the string in dual function wont be displayed. I mean only number is displayed without string after that.&lt;/P&gt;&lt;P&gt;2. I tried formatting using num function. In this case expression value is formatted and even the text after number is displayed. But the problem is Y-axis value are not formatted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one please help me to format Y-axis values as well as integer in dual expression result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-format-in-dual-expression/m-p/547699#M1301565</guid>
      <dc:creator />
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Number format in dual expression</title>
      <link>https://community.qlik.com/t5/QlikView/Number-format-in-dual-expression/m-p/547700#M1301569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dual() function returns STRING to the front-end while the qv internally treats it numerically. Therefore, you can't format data numerically of a returned string. Hope this makes sense.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Oct 2013 09:13:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-format-in-dual-expression/m-p/547700#M1301569</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-10-30T09:13:03Z</dc:date>
    </item>
    <item>
      <title>Re: Number format in dual expression</title>
      <link>https://community.qlik.com/t5/QlikView/Number-format-in-dual-expression/m-p/547701#M1301573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As I have explained in my 1st approach number is being formatted but the text after it is not displayed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Oct 2013 09:15:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-format-in-dual-expression/m-p/547701#M1301573</guid>
      <dc:creator />
      <dc:date>2013-10-30T09:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: Number format in dual expression</title>
      <link>https://community.qlik.com/t5/QlikView/Number-format-in-dual-expression/m-p/547702#M1301576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;dual(s,x) is used in the script and is designed to apply a number representation to a string. s = string and x = number&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g. dual('January', 1) as Month&lt;/P&gt;&lt;P&gt;(normally you would use a field)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see Help section&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Oct 2013 09:22:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-format-in-dual-expression/m-p/547702#M1301576</guid>
      <dc:creator />
      <dc:date>2013-10-30T09:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: Number format in dual expression</title>
      <link>https://community.qlik.com/t5/QlikView/Number-format-in-dual-expression/m-p/547703#M1301577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, got you. Can you post a sample. From a single dual, it might not be possible in the front-end. Or, you might want to use DUAL over another DUAL to get what you want, something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dual(&lt;STRONG&gt;Num(Dual(Txt, Expression), '##.00#')&lt;/STRONG&gt;, Expression) as Txt_Num_Dual&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note, here the highlighted part would be treaded as text while you will see text and number both.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Oct 2013 09:26:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-format-in-dual-expression/m-p/547703#M1301577</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-10-30T09:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: Number format in dual expression</title>
      <link>https://community.qlik.com/t5/QlikView/Number-format-in-dual-expression/m-p/547704#M1301578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have shown my chart below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; dual(num(Max(salary),'#.##0'), FirstSortedValue(DISTINCT [NAME], -aggr(max(salary),[Date],NAME)))&lt;/P&gt;&lt;P&gt;The above expression is working fine. But you can see Y-axis values(highlighted in oval) are not formatted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="48316" alt="" class="jiveImage" src="https://community.qlik.com/legacyfs/online/48316_pastedImage_1.png" style="width: 620px; height: 220px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Oct 2013 09:40:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-format-in-dual-expression/m-p/547704#M1301578</guid>
      <dc:creator />
      <dc:date>2013-10-30T09:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: Number format in dual expression</title>
      <link>https://community.qlik.com/t5/QlikView/Number-format-in-dual-expression/m-p/547705#M1301579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is your dimension?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Oct 2013 09:47:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-format-in-dual-expression/m-p/547705#M1301579</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-10-30T09:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: Number format in dual expression</title>
      <link>https://community.qlik.com/t5/QlikView/Number-format-in-dual-expression/m-p/547706#M1301580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its category. Each category has a list of people. the person having highest salary in each category is displayed as Y-axis value along salary.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Oct 2013 09:50:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-format-in-dual-expression/m-p/547706#M1301580</guid>
      <dc:creator />
      <dc:date>2013-10-30T09:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: Number format in dual expression</title>
      <link>https://community.qlik.com/t5/QlikView/Number-format-in-dual-expression/m-p/547707#M1301581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;, Please post a sample. &lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-1290"&gt;How to prepare example for upload&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Oct 2013 09:55:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-format-in-dual-expression/m-p/547707#M1301581</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-10-30T09:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: Number format in dual expression</title>
      <link>https://community.qlik.com/t5/QlikView/Number-format-in-dual-expression/m-p/547708#M1301582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My actual qlikview file has expression of 7-8 lines. I tried making it simple and explained above. So my qlikview file has huge data and really big expressions. So there s no sample here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Oct 2013 09:59:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-format-in-dual-expression/m-p/547708#M1301582</guid>
      <dc:creator />
      <dc:date>2013-10-30T09:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: Number format in dual expression</title>
      <link>https://community.qlik.com/t5/QlikView/Number-format-in-dual-expression/m-p/547709#M1301583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found solution to my question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here the problem was I cannot use formatting under "Number" as I'm using dual(int string). So what I have done is I have taken one more dummy expression something like num(100000,##,##0) and formatted this expression using "Number" tab. I think because this is my first expression in the chart, Y-axis is formatted with whatever is given in number format. And I have made this expression invisible(not disabled) so that this expression is considered for axes formatting. Now my actual expression which is dual(int,string) is written as dual(num(int,##,##0),string) which formats expression output(not Y-axis value).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By this both Y-axis and expression value are formatted as shown below &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="49027" alt="" class="jiveImage" src="https://community.qlik.com/legacyfs/online/49027_pastedImage_2.png" style="width: 620px; height: 218px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Nov 2013 10:19:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-format-in-dual-expression/m-p/547709#M1301583</guid>
      <dc:creator />
      <dc:date>2013-11-15T10:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: Number format in dual expression</title>
      <link>https://community.qlik.com/t5/QlikView/Number-format-in-dual-expression/m-p/547710#M1301584</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;State formats in the expression and then use Expression Default in the number tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Salutes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Nov 2013 10:34:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-format-in-dual-expression/m-p/547710#M1301584</guid>
      <dc:creator>christian77</dc:creator>
      <dc:date>2013-11-15T10:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: Number format in dual expression</title>
      <link>https://community.qlik.com/t5/QlikView/Number-format-in-dual-expression/m-p/547711#M1301585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cristian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whatever you have said wont work in my case. So I have explained my approach. And&amp;nbsp; it works perfectly fine. That is the correct answer for my question. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure whether I can accept my own ans as correct ans as I have only posted the question and found ans later. Because there are few discussion forums where we cannot accept our own answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Nov 2013 10:43:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-format-in-dual-expression/m-p/547711#M1301585</guid>
      <dc:creator />
      <dc:date>2013-11-15T10:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: Number format in dual expression</title>
      <link>https://community.qlik.com/t5/QlikView/Number-format-in-dual-expression/m-p/547712#M1301586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Kavi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I too am having this problem. I was using dimension limited to 18 largest values for my monthyear field, but the problem was that it applies the dimenion limit to the sales rather than the largest dimension. So I had to add an invisible expression equal to monthyear so that it did dimension limits properly, but when I unchecked the line graph option, my axis formatting went to crap, which is such a stupid design flaw from Qlik.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, the solution is to enable the expression, uncheck the line, or also check invisible, and then check text on pop-up, for some reason it restores the number format (as long as the field is a dual).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know it's 2 years too late, but hopefully this helps someone.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 17:46:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-format-in-dual-expression/m-p/547712#M1301586</guid>
      <dc:creator>richard_cioci</dc:creator>
      <dc:date>2015-06-10T17:46:45Z</dc:date>
    </item>
  </channel>
</rss>

