<?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: Currency Conversion using Climber Filter selection in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Currency-Conversion-using-Climber-Filter-selection/m-p/1581768#M42502</link>
    <description>&lt;P&gt;Here is the example QVF hope it resolves your query&lt;/P&gt;</description>
    <pubDate>Sat, 18 May 2019 03:11:42 GMT</pubDate>
    <dc:creator>ajaykakkar93</dc:creator>
    <dc:date>2019-05-18T03:11:42Z</dc:date>
    <item>
      <title>Currency Conversion using Climber Filter selection</title>
      <link>https://community.qlik.com/t5/App-Development/Currency-Conversion-using-Climber-Filter-selection/m-p/1581616#M42490</link>
      <description>&lt;P&gt;Hello Qlik Gods, I have an app in which all values are in USD. I have used climber filter extension to create a list of four fields which are the currencies and inline loaded them.I have cost price, sell price and net for which im using if(Selection='ABC',Sum(CostPrice(ABC))) ,&lt;/P&gt;&lt;P&gt;if(Selection='XYZ',Sum(CostPrice(XYZ)))&lt;/P&gt;&lt;P&gt;where ABC and XYZ are currency codes and Cost Price(ABC) are a field in the table.&lt;/P&gt;&lt;P&gt;So the graph works but I have buttons which shoes Quarterly, YTD, MTD&amp;nbsp; and these are used to change the dimension dynamically! So my currency conversions dont reflect changes with these bcoz i think once the if condition is fulfilled, it wont change it! Any tips to go about it?&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2019 14:29:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Currency-Conversion-using-Climber-Filter-selection/m-p/1581616#M42490</guid>
      <dc:creator>deborahs</dc:creator>
      <dc:date>2019-05-17T14:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: Currency Conversion using Climber Filter selection</title>
      <link>https://community.qlik.com/t5/App-Development/Currency-Conversion-using-Climber-Filter-selection/m-p/1581645#M42494</link>
      <description>can you share sample app for us to test and check.&lt;BR /&gt;Another way to do this instead of if(Selection='XYZ',Sum(CostPrice(XYZ)))&lt;BR /&gt;is to use a variable like below&lt;BR /&gt;Sum( $(vMeasureColumn))&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 17 May 2019 15:32:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Currency-Conversion-using-Climber-Filter-selection/m-p/1581645#M42494</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2019-05-17T15:32:52Z</dc:date>
    </item>
    <item>
      <title>Re: Currency Conversion using Climber Filter selection</title>
      <link>https://community.qlik.com/t5/App-Development/Currency-Conversion-using-Climber-Filter-selection/m-p/1581767#M42501</link>
      <description>I have a example ready I'll share you that u can take a look</description>
      <pubDate>Sat, 18 May 2019 02:39:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Currency-Conversion-using-Climber-Filter-selection/m-p/1581767#M42501</guid>
      <dc:creator>ajaykakkar93</dc:creator>
      <dc:date>2019-05-18T02:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: Currency Conversion using Climber Filter selection</title>
      <link>https://community.qlik.com/t5/App-Development/Currency-Conversion-using-Climber-Filter-selection/m-p/1581768#M42502</link>
      <description>&lt;P&gt;Here is the example QVF hope it resolves your query&lt;/P&gt;</description>
      <pubDate>Sat, 18 May 2019 03:11:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Currency-Conversion-using-Climber-Filter-selection/m-p/1581768#M42502</guid>
      <dc:creator>ajaykakkar93</dc:creator>
      <dc:date>2019-05-18T03:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: Currency Conversion using Climber Filter selection</title>
      <link>https://community.qlik.com/t5/App-Development/Currency-Conversion-using-Climber-Filter-selection/m-p/1582291#M42569</link>
      <description>&lt;P&gt;Thank you for your time. This is kind of similar but let me give you some more context.&lt;/P&gt;&lt;P&gt;The data is of the format you showed and I have dynamic dimension and measure. Dynamic dimension has four options and the expression is&amp;nbsp;&lt;/P&gt;&lt;P&gt;=$(=Pick(Match($(vTime),1,2,3,4),&lt;BR /&gt;'if([ABC.Year_Trade_Date]=Year(Quarterend(Today())),[ABC.Client Services])',&lt;BR /&gt;'if(QuarterEnd([ABC.TradeDate])=QuarterEnd(Today()),[ABC.Client Services])',&lt;BR /&gt;'if(QuarterEnd([ABC.TradeDate])&amp;lt;QuarterEnd(Today()) and QuarterEnd([ABC.TradeDate])&amp;gt;=QuarterEnd(Today(),-4),[ABC.Client Services])',&lt;BR /&gt;'if(QuarterEnd([ABC.TradeDate])=QuarterEnd(Today(),-1),[ABC.Client Services])'&lt;/P&gt;&lt;P&gt;))&lt;/P&gt;&lt;P&gt;and expression for measure is&amp;nbsp;=$(=Pick(Match($(vMeasure),1,2,3,4),&lt;BR /&gt;vNet,&lt;BR /&gt;vInflow,&lt;BR /&gt;vOutflow,vTransaction&lt;BR /&gt;))&amp;nbsp;&lt;/P&gt;&lt;P&gt;So if you select YTD, a value would be assigned to vTime and that particular dimension would be considered and if you want to see Net, youll have to select that button and youll get that measure.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So i added Climber custom filter in which i have four fields, 'AUD', 'GBP', 'EUR' and 'SGD'. And the field name is selection. So I use&amp;nbsp;&lt;/P&gt;&lt;P&gt;if(GetSelectedCount(Selection)&amp;gt;0,&lt;BR /&gt;if(Selection='AUD',&lt;BR /&gt;(SUM(if([CGL.Amount (AUD)]&amp;gt;0 AND [ABC.Year_Trade_Date]=Year(Quarterend(Today())), [ABC.Amount (AUD)]))),&lt;BR /&gt;if(Selection='GBP',&lt;BR /&gt;(SUM(if([ABC.Amount (GBP)]&amp;gt;0 AND [ABC.Year_Trade_Date]=Year(Quarterend(Today())), [ABC.Amount (GBP)]))),&lt;BR /&gt;if(Selection='SGD',&lt;BR /&gt;(SUM(if([CGL.Amount (SGD)]&amp;gt;0 AND [ABC.Year_Trade_Date]=Year(Quarterend(Today())), [ABC.Amount (SGD)]))),&lt;BR /&gt;if(Selection='EUR',&lt;BR /&gt;(SUM(if([CGL.Amount (EUR)]&amp;gt;0 AND [ABC.Year_Trade_Date]=Year(Quarterend(Today())), [ABC.Amount (EUR)]))))//,&lt;BR /&gt;)&lt;BR /&gt;)&lt;BR /&gt;), (SUM(if(CGL.Amount&amp;gt;0 AND [CGL.Year_Trade_Date]=Year(Quarterend(Today())), CGL.Amount)))&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;this expression for currency conversion.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This expression works well with straight tables with static measures but the ones in which there are dynamic measures, I have to change the expression. Ive tried many possibilities,&lt;/P&gt;&lt;P&gt;1)&amp;nbsp;If((Match($(vMeasure,1) ,Pick(Match(Selection),'AUD','GBP','EUR','SGD'),&lt;BR /&gt;vNetAUD,vNetGBP,vNetEUR,vNetSGD)))&lt;/P&gt;&lt;P&gt;2)&lt;/P&gt;&lt;P&gt;If((Match($(vMeasure,1) and num(getSelectedCount(Selection)&amp;lt;=1)),Pick(vNet)),&lt;BR /&gt;If((Match($(vMeasure,1) and Selection=’AUD’),Pick(vNetAUD)),&lt;BR /&gt;If((Match($(vMeasure,1) and Selection=’GBP’),Pick(vNetGBP)),&lt;BR /&gt;If((Match($(vMeasure,1) and Selection=’EUR’),Pick(vNetEUR)),&lt;BR /&gt;If((Match($(vMeasure,1) and Selection=’SGD’),Pick(vNetSGD)))&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;None of these work!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2019 15:00:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Currency-Conversion-using-Climber-Filter-selection/m-p/1582291#M42569</guid>
      <dc:creator>deborahs</dc:creator>
      <dc:date>2019-05-20T15:00:02Z</dc:date>
    </item>
  </channel>
</rss>

