<?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: Using formulas from excel in the straight table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-formulas-from-excel-in-the-straight-table/m-p/508477#M690746</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thx, &lt;SPAN style="font-size: 8pt;"&gt;Fabrice!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;The solution you offered would work, if I didn`t have&amp;nbsp; so many commas in the my metric formulas.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;As you noticed it doesn`t work with commas in formulas &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/cry.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Oct 2013 10:24:50 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-10-04T10:24:50Z</dc:date>
    <item>
      <title>Using formulas from excel in the straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Using-formulas-from-excel-in-the-straight-table/m-p/508472#M690740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hello, everybody!&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My problem:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I have a list of Metrics and formulas for each metric in the excel file. Formulas from this file contain only QV operators and work properly.&amp;nbsp; Something like this:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Metric&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Formula&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;a&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;P&gt;Sum({$&amp;lt;[Type] = {1},Metric = {'A'}&amp;gt;}Amount)&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;b&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Sum({$&amp;lt;[Type] = {1},Metric = {'B'}&amp;gt;}Amount)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;c&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Sum({$&amp;lt;[Type] = {1},Metric = {'B'}&amp;gt;}Amount)/Sum({$&amp;lt;[Type] = {1},Metric = {'A'}&amp;gt;}Amount)&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;And I have a chart 'straight table', where I&amp;nbsp; should display volumes of metrics. It should be something like this:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Metric Name&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Volume&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;P&gt;A&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;100500&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;B&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;809&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;C&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;568&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;STRONG&gt;What I have done:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I loaded metrics and formulas from excel. I picked Metric as a dimension, I picked Formula as an expression. And i got perfect list of the metrics and formulas &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/laugh.png" /&gt;.&lt;/P&gt;&lt;P&gt;I tried to use $(=Only(Formula)), but it works only if i picked one metric from a list (I use it in other tables, where I should calculate volumes only for selected metric).&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What I whant:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I want to get volumes of all metrics from the list calculated according to the formulas from the exlel file in one list in straight table.&lt;/P&gt;&lt;P&gt;I have a lot of metrics, so the solution couldn`t be based on the IF(Metric = a, formula a..) or Pick(). &lt;/P&gt;&lt;P&gt;How can I convert text to the calculated formula?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Oct 2013 12:56:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-formulas-from-excel-in-the-straight-table/m-p/508472#M690740</guid>
      <dc:creator />
      <dc:date>2013-10-03T12:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: Using formulas from excel in the straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Using-formulas-from-excel-in-the-straight-table/m-p/508473#M690742</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;If I understand your metrics are in a XLS file and the user can choose them through a ListBox.&lt;/P&gt;&lt;P&gt;Create many expressions in the chart that will be or nor visible:&lt;/P&gt;&lt;P&gt;a)&amp;nbsp; expression : $(=subfield(concat(Formula, '|'), '|', n)) &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;b) visible ? enable the conditional for each expression : getSelectedCount(Metric) &amp;gt;= n &lt;/P&gt;&lt;P&gt;&amp;nbsp; (where&lt;STRONG style="text-decoration: underline;"&gt; n&lt;/STRONG&gt; is your nth expression)&lt;/P&gt;&lt;P&gt;so, if you choose 3 expressions, the user will see the 3 chosen even though you have 20 in the chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fabrice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Oct 2013 13:19:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-formulas-from-excel-in-the-straight-table/m-p/508473#M690742</guid>
      <dc:creator />
      <dc:date>2013-10-03T13:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: Using formulas from excel in the straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Using-formulas-from-excel-in-the-straight-table/m-p/508474#M690743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thnx, Fabrice,&lt;/P&gt;&lt;P&gt;But, my situation is another.&lt;/P&gt;&lt;P&gt;1. user could`t choose metrics, i have straight table with constant list of metrics. I should display all at once metrics with values without any selections&amp;nbsp; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;2. i can`t create so many expressions as I have metrics - I have &lt;STRONG&gt;a lot&lt;/STRONG&gt; of metris.&lt;/P&gt;&lt;P&gt;My main problem is:&lt;/P&gt;&lt;P&gt;i can`t display calculated according the loaded from the file formula &lt;STRONG&gt;value&lt;/STRONG&gt;, only the &lt;STRONG&gt;text&lt;/STRONG&gt; of this formula is displayed&amp;nbsp; in the table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Oct 2013 13:41:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-formulas-from-excel-in-the-straight-table/m-p/508474#M690743</guid>
      <dc:creator />
      <dc:date>2013-10-03T13:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: Using formulas from excel in the straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Using-formulas-from-excel-in-the-straight-table/m-p/508475#M690744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah ...&lt;/P&gt;&lt;P&gt;I will be interested by the solution ...&lt;/P&gt;&lt;P&gt;Metric as dimension and $(=Formula) as expression will not work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fabrice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Oct 2013 13:53:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-formulas-from-excel-in-the-straight-table/m-p/508475#M690744</guid>
      <dc:creator />
      <dc:date>2013-10-03T13:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: Using formulas from excel in the straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Using-formulas-from-excel-in-the-straight-table/m-p/508476#M690745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have perhaps something for you:&lt;/P&gt;&lt;P&gt;Dimension : Metric&lt;/P&gt;&lt;P&gt;Expression : pick&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;rowno&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(), &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;$(=concat( Formula, ','))&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; ) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;You can add a parameter to the concat function : the set, the order of the measure (this parameter, I think, must be set to be equal to the order of Metric dimension in the table/chart.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;QV will rewrite the function before executing it : you must have the ',' as delimiter but it can hurt some dataset you have written in you formulas !&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Tell me if it works in real world (I have made just a test with few measures)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Fabrice&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Oct 2013 14:37:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-formulas-from-excel-in-the-straight-table/m-p/508476#M690745</guid>
      <dc:creator />
      <dc:date>2013-10-03T14:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: Using formulas from excel in the straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Using-formulas-from-excel-in-the-straight-table/m-p/508477#M690746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thx, &lt;SPAN style="font-size: 8pt;"&gt;Fabrice!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;The solution you offered would work, if I didn`t have&amp;nbsp; so many commas in the my metric formulas.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;As you noticed it doesn`t work with commas in formulas &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/cry.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Oct 2013 10:24:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-formulas-from-excel-in-the-straight-table/m-p/508477#M690746</guid>
      <dc:creator />
      <dc:date>2013-10-04T10:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: Using formulas from excel in the straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Using-formulas-from-excel-in-the-straight-table/m-p/508478#M690747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes, the solution works when there is no comma (I got it)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in fact the pick function expects commas (,). it is why we need to use concat with the delimiter comma also to get a true interpretation. And it hurts your formulas that contain a comma (in the sets). I tried with another delimiter without any success.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps change the equation of your formulas (instead of comma use a pipe like |) that you will substitute at the end. With this change, there will be no bad interaction with the pick function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think that the solution is very near.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fabrice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Oct 2013 10:30:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-formulas-from-excel-in-the-straight-table/m-p/508478#M690747</guid>
      <dc:creator />
      <dc:date>2013-10-04T10:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: Using formulas from excel in the straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Using-formulas-from-excel-in-the-straight-table/m-p/508479#M690748</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;I was following the discussion and the topic gave me the idea of the creation of a dynamic income statement. I tried to adopt a very simple example (ie with no commas on set analysis) but I couldn't get the desired results. If you see the attachment, the third line of the straight table shall give me the total sales. When applying on a list box, the value is coming properly (probably meaning that the pick function is ok). When in straight table I cannot get the results. I guess it is something in the set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess, if we get this solution the next step is to find a way to treat more complex formulas (ie having commas).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help will be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanking you in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2013 06:58:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-formulas-from-excel-in-the-straight-table/m-p/508479#M690748</guid>
      <dc:creator />
      <dc:date>2013-10-08T06:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: Using formulas from excel in the straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Using-formulas-from-excel-in-the-straight-table/m-p/508480#M690749</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;I have done something similar, although I created the pick() expression in a variable. This is the code I used:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;MetricsConcat:&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD Concat(Expression, ',', LCR.LineNo) AS ReportExpressions&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Resident LCR.ExpressionMap;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Let vMetrics = 'pick(LCR.ExprLine,' &amp;amp; peek('ReportExpressions') &amp;amp; ')';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many of the expressions have commas, but it works correctly. In a table that uses LCR.ExprLine as a dimension, I use $(vMetrics) as the expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2013 07:31:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-formulas-from-excel-in-the-straight-table/m-p/508480#M690749</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2013-10-08T07:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: Using formulas from excel in the straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Using-formulas-from-excel-in-the-straight-table/m-p/508481#M690750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clever. I will test it. I was not able to solve the problem of commas ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fabrice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2013 07:38:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-formulas-from-excel-in-the-straight-table/m-p/508481#M690750</guid>
      <dc:creator />
      <dc:date>2013-10-08T07:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: Using formulas from excel in the straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Using-formulas-from-excel-in-the-straight-table/m-p/508482#M690751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, Jonathan!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thnx for your solution!&lt;/P&gt;&lt;P&gt;I loaded a list of formulas, but unfortunately I can`t got a value for metric yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I loaded&lt;/P&gt;&lt;P&gt;Concat (Formula, ',', Sort_Order) as FormulaList&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;created variable:&lt;/P&gt;&lt;P&gt;let vFormula = 'pick (Sort-order, '&amp;amp; Peek ('FormulaList')&amp;amp;')'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but I can`t get result with $(vFormula) in the chart..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2013 09:35:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-formulas-from-excel-in-the-straight-table/m-p/508482#M690751</guid>
      <dc:creator />
      <dc:date>2013-10-08T09:35:37Z</dc:date>
    </item>
    <item>
      <title>Re: Using formulas from excel in the straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Using-formulas-from-excel-in-the-straight-table/m-p/508483#M690752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please explain the expression with peek you have used.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2013 09:36:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-formulas-from-excel-in-the-straight-table/m-p/508483#M690752</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2013-10-08T09:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: Using formulas from excel in the straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Using-formulas-from-excel-in-the-straight-table/m-p/508484#M690753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a table field with the formulas (as they would work in QV) and a table field of order (ie ORDINAMENTO)that I want to be appeared in the report.&lt;/P&gt;&lt;P&gt;I use the trick that &lt;A _jive_internal="true" data-avatarid="6454" data-externalid="" data-online="false" data-presence="null" data-userid="134028" data-username="FABRICE44" href="https://community.qlik.com/people/FABRICE44" style="font-weight: bold; font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #8b8b8b; background-color: #f6f6f6;"&gt;AUNEZ FABRICE&lt;/A&gt; proposed with the concatenation of all formulas to one value (using commas) and the pick expression in order to define on each row of my straight table which formula to run. Instead of row() I found it better to use the ORDINAMENTO field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The formula field is simple set analysis which, for example, calculates the total sales (Sales + Other Revenue)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2013 10:53:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-formulas-from-excel-in-the-straight-table/m-p/508484#M690753</guid>
      <dc:creator />
      <dc:date>2013-10-08T10:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: Using formulas from excel in the straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Using-formulas-from-excel-in-the-straight-table/m-p/508485#M690754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alena&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure that Sort-Order is a dimension in the chart, or is uniquely associated (1:1) with a dimension in the chart. The expression needs a value of Sort-Order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can access the individual formulas like this (eg in a text box, to show formula #107):&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;EM&gt;=Only({&amp;lt;Sort-Order = {107}&amp;gt;} $(Formula))&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I packaged this into a parameterized macro defined like this :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mExpr &lt;EM&gt;= Only({&amp;lt;Sort-Order = {$1}&amp;gt;} $(Formula))&lt;/EM&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Then I can use it in a textbox like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp; &lt;EM&gt;&amp;nbsp; $(mExpr(107))&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Jonathan&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2013 11:10:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-formulas-from-excel-in-the-straight-table/m-p/508485#M690754</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2013-10-08T11:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: Using formulas from excel in the straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Using-formulas-from-excel-in-the-straight-table/m-p/508486#M690755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here are some examples of the formulas I use this way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;FNoteNumber={"A040201*"}, Cost_Centre_Code={9808}, PortfolioCode={'JOBX1'}&amp;gt;} Exposure) / 1000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;FNoteNumber={"A040201*"}, Cost_Centre_Code={9804, 9807, 0522}&amp;gt;} Exposure) / 1000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Exco.Group={'S'}, FNoteNumber={"A04*"}, CUSIP={$(xSelBucket)}&amp;gt;} Exposure) / 1000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The macro &lt;EM&gt;$(mExpr(nn))&lt;/EM&gt; described in my previous post is also useful for testing individual expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The pick() expression that you create &lt;STRONG&gt;must be a properly parseable Qlikview expression&lt;/STRONG&gt;. If any one of the formulas has an error (such as a missing bracket or comma or function parameter error), then the whole pick expression fails. It is important to &lt;STRONG&gt;test each formula&lt;/STRONG&gt; before adding them to the pick expression. Check in a text box, or a dimensionless straight table box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would also suggest starting off with a single expression in the source file, something simple like &lt;EM&gt;sum(amount)&lt;/EM&gt;, and test that. When that is working add a couple more expressions and test again. And so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2013 11:22:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-formulas-from-excel-in-the-straight-table/m-p/508486#M690755</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2013-10-08T11:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: Using formulas from excel in the straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Using-formulas-from-excel-in-the-straight-table/m-p/508487#M690756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tnx!&lt;/P&gt;&lt;P&gt;It really works now &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;Currently I have one more problem: not all my metrics are displayed in the chart i finally got.&lt;/P&gt;&lt;P&gt;I lost 6 metrics. They are all have correct formulas, parseable in QlikView.&lt;/P&gt;&lt;P&gt;Some of them have very&amp;nbsp; close to 0 amout (and I suspect this is the reason they aren`t displayed in the chart where most values - the millions), but the rest of metrics have normal amounts..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Formulas are properly, they all included in the result of concut () function and have uniq Sort_Order.. but don`t work in this solution&lt;/P&gt;&lt;P&gt;Here is formulas:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;[Value Type]={10},&amp;nbsp; Metric = {'Client Service'}&amp;gt;}Amount) / (Sum({$&amp;lt;[Value Type]={10},&amp;nbsp; Metric = {'Total CS'}&amp;gt;}Amount)* Period_Days&lt;/P&gt;&lt;P&gt; Sum({$&amp;lt;[Value Type]={10},&amp;nbsp; Metric = {'Revenue'}&amp;gt;}Amount)/Sum({$&amp;lt;[Value Type]={10},&amp;nbsp; Metric = {'Client Service'}&amp;gt;}Amount)&lt;/P&gt;&lt;P&gt; (Sum({$&amp;lt;[Value Type]={10}, Metric = {'Total CS'}&amp;gt;}Amount)- Sum({$&amp;lt;[Value Type]={10}, Metric = {'Partner'}&amp;gt;}Amount))/Sum({$&amp;lt;[Value Type]={10}, Metric = {'Partner'}&amp;gt;}Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other formulas have the same structure and work properly, what`s going on with these I can`t imagine &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;.&lt;/P&gt;&lt;P&gt;I don`t suppres obviously any values in the chart...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2013 14:45:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-formulas-from-excel-in-the-straight-table/m-p/508487#M690756</guid>
      <dc:creator />
      <dc:date>2013-10-08T14:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: Using formulas from excel in the straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Using-formulas-from-excel-in-the-straight-table/m-p/508488#M690757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the same problem. Although all formulas are parseable in QlikView, some formulas are not shown in the straight table. If I change these formulas with much easier they still are not shown in the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 05:54:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-formulas-from-excel-in-the-straight-table/m-p/508488#M690757</guid>
      <dc:creator />
      <dc:date>2013-10-09T05:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: Using formulas from excel in the straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Using-formulas-from-excel-in-the-straight-table/m-p/508489#M690758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Forget it,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem was in my data model. Thank you all!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 06:37:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-formulas-from-excel-in-the-straight-table/m-p/508489#M690758</guid>
      <dc:creator />
      <dc:date>2013-10-09T06:37:07Z</dc:date>
    </item>
  </channel>
</rss>

