<?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: Expression error in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-error/m-p/413781#M153933</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry about that, here is the qvw.&lt;/P&gt;&lt;P&gt;Thxs,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Sep 2012 20:24:39 GMT</pubDate>
    <dc:creator>alec1982</dc:creator>
    <dc:date>2012-09-17T20:24:39Z</dc:date>
    <item>
      <title>Expression error</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-error/m-p/413770#M153922</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;&lt;/P&gt;&lt;P&gt;Not sure why this expression is giving me error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even I have all the right field and the right selection&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;Sum({&amp;lt;[Year of Expense] = {$(varPlReportingYear)},&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Expense Type (annual)] = {"*Rent*"} or GetFieldSelections(_ShowRentFlag)=1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;} [Amount of Expense (USD-annual)])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I apprciate any help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2012 14:16:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-error/m-p/413770#M153922</guid>
      <dc:creator>alec1982</dc:creator>
      <dc:date>2012-09-17T14:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: Expression error</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-error/m-p/413771#M153923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you be more specific please? Can you attach a screenshot with your formula or paste it here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2012 14:27:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-error/m-p/413771#M153923</guid>
      <dc:creator>jvitantonio</dc:creator>
      <dc:date>2012-09-17T14:27:21Z</dc:date>
    </item>
    <item>
      <title>Re: Expression error</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-error/m-p/413772#M153924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Because of this:&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;[Year of Expense] = {$(varPlReportingYear)}, [Expense Type (annual)] = {"*Rent*"}&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt; or&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;SPAN style="color: #ff0000;"&gt;GetFieldSelections(_ShowRentFlag)=1&lt;/SPAN&gt;&amp;gt;} [Amount of Expense (USD-annual)])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you want to calcualte?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2012 14:38:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-error/m-p/413772#M153924</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2012-09-17T14:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: Expression error</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-error/m-p/413773#M153925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are not using an IF condition, then how come you are using an OR operator in your expression?&lt;/P&gt;&lt;P&gt;I don't think you can use a OR operator in SET Analysis.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2012 14:38:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-error/m-p/413773#M153925</guid>
      <dc:creator />
      <dc:date>2012-09-17T14:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: Expression error</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-error/m-p/413774#M153926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thank you for the reply,&lt;/P&gt;&lt;P&gt;The expression in different way is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(if ( ((Index([Expense Type (annual)], 'Rent') = 0) or GetFieldSelections(_ShowRentFlag)=1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and ([Year of Expense] = $(varPlReportingYear))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; , [Amount of Expense (USD-annual)]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This doesn't give me error but It doesn't give me the right nr.&lt;/P&gt;&lt;P&gt;Anyway, I can write the expression differently than this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thxs,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2012 14:43:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-error/m-p/413774#M153926</guid>
      <dc:creator>alec1982</dc:creator>
      <dc:date>2012-09-17T14:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: Expression error</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-error/m-p/413775#M153927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Get field selection is a toggle that&amp;nbsp; include/ exclude one of the dimension values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The chat that I have is a bar chart that show expenses by expense type such as rent, parking,..&lt;/P&gt;&lt;P&gt; the toggle is to include/ exclude the rent bar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thxs,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2012 14:59:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-error/m-p/413775#M153927</guid>
      <dc:creator>alec1982</dc:creator>
      <dc:date>2012-09-17T14:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: Expression error</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-error/m-p/413776#M153928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would suggest you to remove the check in expression and include it in Dimension.&lt;/P&gt;&lt;P&gt;Make it a calculated dimension with a 'IF' clause and make it NULL in case the flag is selected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2012 15:13:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-error/m-p/413776#M153928</guid>
      <dc:creator />
      <dc:date>2012-09-17T15:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: Expression error</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-error/m-p/413777#M153929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thxs for the reply, &lt;/P&gt;&lt;P&gt;may you please give me more details or do you have any sample.&lt;/P&gt;&lt;P&gt;Thxs,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2012 15:25:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-error/m-p/413777#M153929</guid>
      <dc:creator>alec1982</dc:creator>
      <dc:date>2012-09-17T15:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: Expression error</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-error/m-p/413778#M153930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very simple example is attached.&lt;/P&gt;&lt;P&gt;If you are looking for a different approach, feel free to attach a dummy dashboard to work on.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2012 15:36:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-error/m-p/413778#M153930</guid>
      <dc:creator />
      <dc:date>2012-09-17T15:36:19Z</dc:date>
    </item>
    <item>
      <title>Re: Expression error</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-error/m-p/413779#M153931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;Thank you for the sample. but it didnt fix my issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have exported the table into an excal file and created a new qvw and loaded the data and copied the same chart in it.&lt;/P&gt;&lt;P&gt;In the new QVW everything is loading correctly!&amp;nbsp; and the numbers are correct.&lt;/P&gt;&lt;P&gt; but on the requiered one, Numbers are not correct!&lt;/P&gt;&lt;P&gt;Any idea on what could be effecting the chart to not calculate correctly?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached is the new qvw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thxs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2012 18:52:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-error/m-p/413779#M153931</guid>
      <dc:creator>alec1982</dc:creator>
      <dc:date>2012-09-17T18:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: Expression error</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-error/m-p/413780#M153932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see only 2 objects in the QVW (2 Table objects) but NO chart.&lt;/P&gt;&lt;P&gt;Can you please re-attach the file with the chart which is not functioning as required?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2012 19:51:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-error/m-p/413780#M153932</guid>
      <dc:creator />
      <dc:date>2012-09-17T19:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: Expression error</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-error/m-p/413781#M153933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry about that, here is the qvw.&lt;/P&gt;&lt;P&gt;Thxs,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2012 20:24:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-error/m-p/413781#M153933</guid>
      <dc:creator>alec1982</dc:creator>
      <dc:date>2012-09-17T20:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: Expression error</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-error/m-p/413782#M153934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On this qvw everything is working normally but when i add it to the main dashboard, it gives me highers even I am using the same fields on the attached qvw.&lt;/P&gt;&lt;P&gt;Thxs for your help.&lt;/P&gt;&lt;P&gt;Alec&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2012 20:33:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-error/m-p/413782#M153934</guid>
      <dc:creator>alec1982</dc:creator>
      <dc:date>2012-09-17T20:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: Expression error</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-error/m-p/413783#M153935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well if you have got this qvw working then I am not sure what data model is affecting when you merge this to the main Dashboard.&lt;/P&gt;&lt;P&gt;However, I have attached the method in which you can control the displaying Dimensions based on the toggle.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2012 20:48:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-error/m-p/413783#M153935</guid>
      <dc:creator />
      <dc:date>2012-09-17T20:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: Expression error</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-error/m-p/413784#M153936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;The data model is correct and have no issues, somehow qlikview responses to the expression in a wierd way sometimes.&lt;/P&gt;&lt;P&gt;the new qvw expression and dim that you sent me worked just fine on the main dashboard.&lt;/P&gt;&lt;P&gt;Thxs for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2012 21:39:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-error/m-p/413784#M153936</guid>
      <dc:creator>alec1982</dc:creator>
      <dc:date>2012-09-17T21:39:07Z</dc:date>
    </item>
  </channel>
</rss>

