<?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: Average ignore columns in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Average-ignore-columns/m-p/534924#M199833</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James,&lt;/P&gt;&lt;P&gt;You can use something like sum(Values)/count(DISTINCT Field), where Field contains the months.&lt;/P&gt;&lt;P&gt; Is there no way to calculate an avg for null data. If you have the values in the same table with the month information you can transform the the null values in the script with if(isnull(ExRate),0,ExRate) as ExRate in order to calculate the avg in chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Jul 2013 12:18:25 GMT</pubDate>
    <dc:creator>daveamz</dc:creator>
    <dc:date>2013-07-29T12:18:25Z</dc:date>
    <item>
      <title>Average ignore columns</title>
      <link>https://community.qlik.com/t5/QlikView/Average-ignore-columns/m-p/534922#M199831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I hope someone can help me with this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to get an average of exchange rates for a particular calendar selection. This is calculating fine, however, when i group the transactional data by account category, the AVG(ExRate) does not give the average for months where there are no transactions. Is there a way for the calculation to ignore the account category grouping?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if I need to send a sample QVW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2013 11:52:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-ignore-columns/m-p/534922#M199831</guid>
      <dc:creator />
      <dc:date>2013-07-29T11:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: Average ignore columns</title>
      <link>https://community.qlik.com/t5/QlikView/Average-ignore-columns/m-p/534923#M199832</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; Its better that you create an inline table with Month and the numbers of days in month and then use this in calculation to compute the avg.&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>Mon, 29 Jul 2013 12:03:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-ignore-columns/m-p/534923#M199832</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2013-07-29T12:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: Average ignore columns</title>
      <link>https://community.qlik.com/t5/QlikView/Average-ignore-columns/m-p/534924#M199833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James,&lt;/P&gt;&lt;P&gt;You can use something like sum(Values)/count(DISTINCT Field), where Field contains the months.&lt;/P&gt;&lt;P&gt; Is there no way to calculate an avg for null data. If you have the values in the same table with the month information you can transform the the null values in the script with if(isnull(ExRate),0,ExRate) as ExRate in order to calculate the avg in chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2013 12:18:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-ignore-columns/m-p/534924#M199833</guid>
      <dc:creator>daveamz</dc:creator>
      <dc:date>2013-07-29T12:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: Average ignore columns</title>
      <link>https://community.qlik.com/t5/QlikView/Average-ignore-columns/m-p/534925#M199834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Kaushik&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe you can help me 'plug it in' - here is what I have (see screen shot)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks a mil&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2013-07-29_1426.png" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/44662_2013-07-29_1426.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jiveImage" src="https://community.qlik.com/message/373435/" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2013 12:27:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-ignore-columns/m-p/534925#M199834</guid>
      <dc:creator />
      <dc:date>2013-07-29T12:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: Average ignore columns</title>
      <link>https://community.qlik.com/t5/QlikView/Average-ignore-columns/m-p/534926#M199835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the response David. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont think the 'count() option is a possibility, because the AVG calculation would still only include the months that the account categories exist in the transactions. (see the image i posted to the previous response)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2013 12:37:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-ignore-columns/m-p/534926#M199835</guid>
      <dc:creator />
      <dc:date>2013-07-29T12:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: Average ignore columns</title>
      <link>https://community.qlik.com/t5/QlikView/Average-ignore-columns/m-p/534927#M199836</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; Just one thing tell me on what fields you have linked them together.&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>Mon, 29 Jul 2013 12:49:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-ignore-columns/m-p/534927#M199836</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2013-07-29T12:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: Average ignore columns</title>
      <link>https://community.qlik.com/t5/QlikView/Average-ignore-columns/m-p/534928#M199837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry - meant to say, I have joined the tables on MONTH and YEAR.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2013 12:51:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-ignore-columns/m-p/534928#M199837</guid>
      <dc:creator />
      <dc:date>2013-07-29T12:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: Average ignore columns</title>
      <link>https://community.qlik.com/t5/QlikView/Average-ignore-columns/m-p/534929#M199838</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; You can do two things.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1. Enter the records for the March month in the First Table with 0 amount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2. You join them and make one table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; In second option you will have to avg the exchange rate first and then link them, other wise data will be replicated many a times.&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>Mon, 29 Jul 2013 13:00:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-ignore-columns/m-p/534929#M199838</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2013-07-29T13:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: Average ignore columns</title>
      <link>https://community.qlik.com/t5/QlikView/Average-ignore-columns/m-p/534930#M199839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Kaushik&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to avoid having to create a zero (0) transaction per category. However, if I do work on the second option you gave me, I'm worried that there will be issues because option #1 is not in place... (i.e. there will still be issues with the transactions not existant for that month - i.e. no average).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would it be possible to separate the exchange rate table altogether (because the LINK is not even required). All i need is the average for the YEAR and MONTHS selected.. which i could possibly use getSelectedValues(YEAR) for.. correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2013 13:20:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-ignore-columns/m-p/534930#M199839</guid>
      <dc:creator />
      <dc:date>2013-07-29T13:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: Average ignore columns</title>
      <link>https://community.qlik.com/t5/QlikView/Average-ignore-columns/m-p/534931#M199840</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; So do you mean you need avg exchange rate same for income and expense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Exchange rate will remain same for both?&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>Mon, 29 Jul 2013 13:56:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-ignore-columns/m-p/534931#M199840</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2013-07-29T13:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: Average ignore columns</title>
      <link>https://community.qlik.com/t5/QlikView/Average-ignore-columns/m-p/534932#M199841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, I dont need the exchange rate table to be linked to the transactions table. All i need is the average exchange rate based on the MONTH and YEAR selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so i changed the date fields in the exchange rate table to EXMONTH and EXYEAR. And this works fine so far:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AVG(if(GetFieldSelections(YEAR)=EXYEAR and GetFieldSelections(MONTH)=EXMONTH,EXRATE))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but - if the user selected more than a single month, the GetFieldSelections(MONTH) is e.g. "Jan, Feb, Mar". (or 'ALL' if the user selects all the months...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there a way to cater for these possible combinations?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2013 14:02:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-ignore-columns/m-p/534932#M199841</guid>
      <dc:creator />
      <dc:date>2013-07-29T14:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: Average ignore columns</title>
      <link>https://community.qlik.com/t5/QlikView/Average-ignore-columns/m-p/534933#M199842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kaushik is right, you need to define what EXRATE represents. If the EXRATE is the avg of month by year then you can link the second table aggregated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD YEAR&amp;amp;'_'&amp;amp;MONTH as LINK&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AVG(EXRATE) as EXRATE&lt;/P&gt;&lt;P&gt;FROM ...&lt;/P&gt;&lt;P&gt;GROUP BY YEAR, MONTH;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This one will linkk for each record from table 1 the average EXRATE from that month and year from table 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2013 14:24:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-ignore-columns/m-p/534933#M199842</guid>
      <dc:creator>daveamz</dc:creator>
      <dc:date>2013-07-29T14:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: Average ignore columns</title>
      <link>https://community.qlik.com/t5/QlikView/Average-ignore-columns/m-p/534934#M199843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi David&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i feel i will be stuck with the same issue though. Because there are no transactions for category EXPENSE in March, the avg(exrate) value will only show values until february.. (which is incorrect).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Option #1 above is the correct option, as it will include values for months where no transactions exist. But this is not an easy task as each category can have up to 100 accounts. Which means i need to create a zero 0.00 line for each account in the system for each month up and until toDate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i have been testing is separating the two tables, and using the getSelectedValue(YEAR) =EXYEAR. And this works, except there can be multiple selections for MONTH so im having difficulty making EXMONTH = 'Jan, Feb, Mar'... (if you understanding what i mean)..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So now i'm trying to find a way around that. Any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2013 16:39:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-ignore-columns/m-p/534934#M199843</guid>
      <dc:creator />
      <dc:date>2013-07-29T16:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: Average ignore columns</title>
      <link>https://community.qlik.com/t5/QlikView/Average-ignore-columns/m-p/534935#M199844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I used your approach and I attached my result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use a variable like vExRate = getfieldselections(MONTH)&lt;/P&gt;&lt;P&gt;Without any link between first table and second table use set analysis:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Avg({&amp;lt;Rate.MONTH={$(vExRate)}&amp;gt;}Rate.EXRATE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have multiple years I recommend to use something like YEAR&amp;amp;'_'&amp;amp;MONTH instead of MONTH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 06:29:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-ignore-columns/m-p/534935#M199844</guid>
      <dc:creator>daveamz</dc:creator>
      <dc:date>2013-07-30T06:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: Average ignore columns</title>
      <link>https://community.qlik.com/t5/QlikView/Average-ignore-columns/m-p/534936#M199845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This works great David - thanks a million!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My only gripe at the moment is that when i selection all months, getfieldselctions(MONTH) equals "ALL".. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know if there is a way around this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 08:13:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-ignore-columns/m-p/534936#M199845</guid>
      <dc:creator />
      <dc:date>2013-07-30T08:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: Average ignore columns</title>
      <link>https://community.qlik.com/t5/QlikView/Average-ignore-columns/m-p/534937#M199846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try something like:&lt;/P&gt;&lt;P&gt;=GetFieldSelections(MONTH, ',',12)&lt;/P&gt;&lt;P&gt;where 12 is the max possible values. If you have something like YEAR&amp;amp;MONTH I guess you can use another valule like 1000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 08:48:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-ignore-columns/m-p/534937#M199846</guid>
      <dc:creator>daveamz</dc:creator>
      <dc:date>2013-07-30T08:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: Average ignore columns</title>
      <link>https://community.qlik.com/t5/QlikView/Average-ignore-columns/m-p/534938#M199847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, you can use this: Avg({}EXRATE)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 09:23:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-ignore-columns/m-p/534938#M199847</guid>
      <dc:creator>brijesh1991</dc:creator>
      <dc:date>2013-07-30T09:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: Average ignore columns</title>
      <link>https://community.qlik.com/t5/QlikView/Average-ignore-columns/m-p/534939#M199848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a mil guys!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 09:31:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-ignore-columns/m-p/534939#M199848</guid>
      <dc:creator />
      <dc:date>2013-07-30T09:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: Average ignore columns</title>
      <link>https://community.qlik.com/t5/QlikView/Average-ignore-columns/m-p/534940#M199849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi daveamz01&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've run into another complication with this and hope you can help me with this one last time...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above solution works with a single currency. So what i have done is isolated the transactions by currency:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(simplified):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(if(curr='zar',amt)) / avg(if(curr='zar',exRate))&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;sum(if(curr='EUR',amt)) / avg(if(curr='EUR',exRate))&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;I can get the result I want using the above, however it is not practical, as I have to add to the code whenever a new company (with a new currency) is added to the system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way around this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have added a sample attached...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks a mil!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Aug 2013 07:06:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-ignore-columns/m-p/534940#M199849</guid>
      <dc:creator />
      <dc:date>2013-08-20T07:06:19Z</dc:date>
    </item>
  </channel>
</rss>

