<?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: Variable Extension and Pick Function in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Variable-Extension-and-Pick-Function/m-p/1783155#M60992</link>
    <description>&lt;P&gt;add the num to other expressions of sum&lt;/P&gt;&lt;P&gt;like num(sum( [yourfieldname],'#,##0')&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;also check the property of the number expression as below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="skamath1_0-1613496766651.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/49164i748B516F8513A12A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="skamath1_0-1613496766651.png" alt="skamath1_0-1613496766651.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 16 Feb 2021 17:33:44 GMT</pubDate>
    <dc:creator>skamath1</dc:creator>
    <dc:date>2021-02-16T17:33:44Z</dc:date>
    <item>
      <title>Variable Extension and Pick Function</title>
      <link>https://community.qlik.com/t5/App-Development/Variable-Extension-and-Pick-Function/m-p/1783133#M60988</link>
      <description>&lt;P&gt;Good Afternoon,&lt;/P&gt;&lt;P&gt;&lt;A href="https://extendingqlik.upper88.com/tag/variable/#:~:text=One%20of%20the%20main%20uses,or%20measures%20in%20a%20chart.&amp;amp;text=In%20that%20case%20you%20can,integer%20between%201%20and%20N" target="_blank"&gt;https://extendingqlik.upper88.com/tag/variable/#:~:text=One%20of%20the%20main%20uses,or%20measures%20in%20a%20chart.&amp;amp;text=In%20that%20case%20you%20can,integer%20between%201%20and%20N&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;We are using the variable extension and pick function shown above to have 6 different options for a KPI on our sheet. There are 6 different toggle buttons to flip between them. Everything is working perfectly, except one of our options is in Sales ($) and the rest of the 5 are all in units. Is it possible to change the formatting so only the first option shows as $?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The KPI expression is:&lt;/P&gt;&lt;P&gt;pick(vDashboard,&lt;BR /&gt;Sum([ TD Quota]),&lt;BR /&gt;Sum([ FFX Quota]),&lt;BR /&gt;Sum([IV&amp;nbsp; Quota]),&lt;BR /&gt;Sum([Product Quota]),&lt;BR /&gt;Sum([Base Quota]),&lt;BR /&gt;Sum([HSM Quota]))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is obviously the number formatting drop down, but as far as I can tell whichever option you pick then applies to all 6 of the variations.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any advice is much appreciated.&lt;/P&gt;&lt;P&gt;Nolan&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 17:29:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variable-Extension-and-Pick-Function/m-p/1783133#M60988</guid>
      <dc:creator>Nolan</dc:creator>
      <dc:date>2024-11-16T17:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: Variable Extension and Pick Function</title>
      <link>https://community.qlik.com/t5/App-Development/Variable-Extension-and-Pick-Function/m-p/1783142#M60989</link>
      <description>&lt;P&gt;you can use the num function with the sum.&lt;/P&gt;&lt;P&gt;num(sum(Sales),'$#,###.00') )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense/February2021/Subsystems/Hub/Content/Sense_Hub/Scripting/FormattingFunctions/Num.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense/February2021/Subsystems/Hub/Content/Sense_Hub/Scripting/FormattingFunctions/Num.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2021 17:06:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variable-Extension-and-Pick-Function/m-p/1783142#M60989</guid>
      <dc:creator>skamath1</dc:creator>
      <dc:date>2021-02-16T17:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: Variable Extension and Pick Function</title>
      <link>https://community.qlik.com/t5/App-Development/Variable-Extension-and-Pick-Function/m-p/1783146#M60990</link>
      <description>&lt;P&gt;Thank you for the response!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have changed the Formatting drop down to 'Number' and added this to the expression:&lt;/P&gt;&lt;P&gt;pick(vDashboard,&lt;BR /&gt;num(Sum([TD Quota]),'$#,###.00'),&lt;BR /&gt;Sum([FFX Quota]),&lt;BR /&gt;Sum([IV Quota]),&lt;BR /&gt;Sum([Product Quota]),&lt;BR /&gt;Sum([Base Quota]),&lt;BR /&gt;Sum([HSM Quota]))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately the first toggle still appears as Units. Is this the correct notation? Any other suggestions?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2021 17:23:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variable-Extension-and-Pick-Function/m-p/1783146#M60990</guid>
      <dc:creator>Nolan</dc:creator>
      <dc:date>2021-02-16T17:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: Variable Extension and Pick Function</title>
      <link>https://community.qlik.com/t5/App-Development/Variable-Extension-and-Pick-Function/m-p/1783155#M60992</link>
      <description>&lt;P&gt;add the num to other expressions of sum&lt;/P&gt;&lt;P&gt;like num(sum( [yourfieldname],'#,##0')&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;also check the property of the number expression as below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="skamath1_0-1613496766651.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/49164i748B516F8513A12A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="skamath1_0-1613496766651.png" alt="skamath1_0-1613496766651.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2021 17:33:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variable-Extension-and-Pick-Function/m-p/1783155#M60992</guid>
      <dc:creator>skamath1</dc:creator>
      <dc:date>2021-02-16T17:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: Variable Extension and Pick Function</title>
      <link>https://community.qlik.com/t5/App-Development/Variable-Extension-and-Pick-Function/m-p/1784859#M61181</link>
      <description>&lt;P&gt;I have tried this and am still getting an error: 'error in expression: ")" expected'&amp;nbsp;&lt;/P&gt;&lt;P&gt;I believe my syntax is correct, so not sure what the problem is. Any advice?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;pick(vDashboard,&lt;BR /&gt;num(Sum([TD Quota]),'$#,###.00'),&lt;BR /&gt;num(Sum([FFX Quota]),'#,###.00'),&lt;BR /&gt;num(Sum([IV Quota]),'#,###.00'),&lt;BR /&gt;num(Sum([Product Quota]),'#,###.00'),&lt;BR /&gt;num(Sum([Base Quota]),'#,###.00'),&lt;BR /&gt;num(Sum([HSM Quota])'#,###.00')&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2021 17:26:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variable-Extension-and-Pick-Function/m-p/1784859#M61181</guid>
      <dc:creator>Nolan</dc:creator>
      <dc:date>2021-02-22T17:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: Variable Extension and Pick Function</title>
      <link>https://community.qlik.com/t5/App-Development/Variable-Extension-and-Pick-Function/m-p/1784866#M61182</link>
      <description>&lt;P&gt;You were missing one comma in the&amp;nbsp; expression&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;num(Sum([HSM Quota])'#,###.00')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Below is the correct expression..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;pick(vDashboard,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;num(Sum([TD Quota]),'$#,###.00'),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;num(Sum([FFX Quota]),'#,###.00'),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;num(Sum([IV Quota]),'#,###.00'),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;num(Sum([Product Quota]),'#,###.00'),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;num(Sum([Base Quota]),'#,###.00'),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;num(Sum([HSM Quota]),'#,###.00')&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2021 17:34:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variable-Extension-and-Pick-Function/m-p/1784866#M61182</guid>
      <dc:creator>skamath1</dc:creator>
      <dc:date>2021-02-22T17:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: Variable Extension and Pick Function</title>
      <link>https://community.qlik.com/t5/App-Development/Variable-Extension-and-Pick-Function/m-p/1784877#M61183</link>
      <description>&lt;P&gt;sorry for the silly mistake!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you I have now put in the correct expression and I have changed the Number Formatting to measure expression. However when I use the Toggles the number formats are all still the same:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nolan_0-1614015854669.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/49600i54C1151459592720/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Nolan_0-1614015854669.png" alt="Nolan_0-1614015854669.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;(1st KPI which should be $)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nolan_1-1614015918425.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/49601iA561F0822F58C2EC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Nolan_1-1614015918425.png" alt="Nolan_1-1614015918425.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;(2nd KPI which should be #)&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2021 17:48:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variable-Extension-and-Pick-Function/m-p/1784877#M61183</guid>
      <dc:creator>Nolan</dc:creator>
      <dc:date>2021-02-22T17:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: Variable Extension and Pick Function</title>
      <link>https://community.qlik.com/t5/App-Development/Variable-Extension-and-Pick-Function/m-p/1784883#M61185</link>
      <description>&lt;P&gt;Is it possible to attach a sample qvf file to really look at the chart object and expressions? otherwise it is difficult to understand the issue.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2021 18:07:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variable-Extension-and-Pick-Function/m-p/1784883#M61185</guid>
      <dc:creator>skamath1</dc:creator>
      <dc:date>2021-02-22T18:07:44Z</dc:date>
    </item>
  </channel>
</rss>

