<?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 Dollar Sign Expansion and Sum in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dollar-Sign-Expansion-and-Sum/m-p/216113#M69495</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;Thanks for posting the sample QV document. I did look at the script &amp;amp; chart expression and everything seems to be right. I can't figure out the issue, I am very sorry if I had wasted your time. Although I had found a post from the forum... not sure if its the same problem.&lt;/P&gt;&lt;P&gt;http://community.qlik.com/forums/t/19497.aspx&lt;/P&gt;&lt;P&gt;I am very keen to see a solution for this issue.&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Apr 2011 15:33:01 GMT</pubDate>
    <dc:creator>IAMDV</dc:creator>
    <dc:date>2011-04-14T15:33:01Z</dc:date>
    <item>
      <title>Dollar Sign Expansion and Sum</title>
      <link>https://community.qlik.com/t5/QlikView/Dollar-Sign-Expansion-and-Sum/m-p/216110#M69492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to create an inline table storing various line desciptions and calculations.&lt;/P&gt;&lt;P&gt;At the moment I have:&lt;/P&gt;&lt;P&gt;Expressions:&lt;BR /&gt;load * inline [&lt;BR /&gt; "Line Description", Expression&lt;BR /&gt; Work In Progress Movement, "Sum ({&amp;lt;"Prior-Year Entry"={'*'},TransType={'Actual'},IncExpCode= {'400R'}, GLAcTable.Income_Balance={0}, Type={1}, LineDesc={'Work In Progress Movement'}&amp;gt;}Amount)"&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; Invoiced Sales, "Sum({&amp;lt;"Prior-Year Entry"={'*'},TransType={'Actual'},IncExpCode= {'400R'},GLAcTable.Income_Balance={0}, Type={1}&amp;gt;}Amount)-Sum ({&amp;lt;"Prior-Year Entry"={'*'},TransType={'Actual'},IncExpCode= {'400R'}, GLAcTable.Income_Balance={0}, Type={1}, LineDesc={'Work In Progress Movement'}&amp;gt;}Amount)"&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;So I create 2 rows (which look ok when I view them in a table box) each with a description and formula in.&lt;/P&gt;&lt;P&gt;The problem I am having is when I put the Month-Year (from a Calendar table) in the dimensions and use $(=Expression) as an expression in a chart I only ever get figures if I select one of the Line Descriptions. So, in other words, the value will only calculate if I have exactly one LIne Description/Expression selected. If both Line Descriptions are available then I have 'No data to display' in the chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have any ideas why this is? Or how I can use multiple rows with multiple formulas to calculate correctly?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2011 13:15:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dollar-Sign-Expansion-and-Sum/m-p/216110#M69492</guid>
      <dc:creator>chris_johnson</dc:creator>
      <dc:date>2011-04-14T13:15:34Z</dc:date>
    </item>
    <item>
      <title>Dollar Sign Expansion and Sum</title>
      <link>https://community.qlik.com/t5/QlikView/Dollar-Sign-Expansion-and-Sum/m-p/216111#M69493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Chris - Do you have a sample QV document? I can try this one...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2011 13:41:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dollar-Sign-Expansion-and-Sum/m-p/216111#M69493</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-04-14T13:41:51Z</dc:date>
    </item>
    <item>
      <title>Dollar Sign Expansion and Sum</title>
      <link>https://community.qlik.com/t5/QlikView/Dollar-Sign-Expansion-and-Sum/m-p/216112#M69494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for the offer. I've managed to knock up a quick qvw with some random data I've made up to explain what I mean.&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2011 14:01:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dollar-Sign-Expansion-and-Sum/m-p/216112#M69494</guid>
      <dc:creator>chris_johnson</dc:creator>
      <dc:date>2011-04-14T14:01:54Z</dc:date>
    </item>
    <item>
      <title>Dollar Sign Expansion and Sum</title>
      <link>https://community.qlik.com/t5/QlikView/Dollar-Sign-Expansion-and-Sum/m-p/216113#M69495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;Thanks for posting the sample QV document. I did look at the script &amp;amp; chart expression and everything seems to be right. I can't figure out the issue, I am very sorry if I had wasted your time. Although I had found a post from the forum... not sure if its the same problem.&lt;/P&gt;&lt;P&gt;http://community.qlik.com/forums/t/19497.aspx&lt;/P&gt;&lt;P&gt;I am very keen to see a solution for this issue.&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2011 15:33:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dollar-Sign-Expansion-and-Sum/m-p/216113#M69495</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-04-14T15:33:01Z</dc:date>
    </item>
    <item>
      <title>Dollar Sign Expansion and Sum</title>
      <link>https://community.qlik.com/t5/QlikView/Dollar-Sign-Expansion-and-Sum/m-p/216114#M69496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The explanation is from John in the post that DV just found:&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/forums/t/19497.aspx"&gt;http://community.qlik.com/forums/t/19497.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The dollar sign expansion works outside the dimensions of the table. So will only ever work when only one is selected. I suggest you find another way to go about the problem - even if it means more hard-coding in the table expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2011 16:09:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dollar-Sign-Expansion-and-Sum/m-p/216114#M69496</guid>
      <dc:creator>nathanfurby</dc:creator>
      <dc:date>2011-04-14T16:09:19Z</dc:date>
    </item>
    <item>
      <title>Dollar Sign Expansion and Sum</title>
      <link>https://community.qlik.com/t5/QlikView/Dollar-Sign-Expansion-and-Sum/m-p/216115#M69497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fair enough, I'll try to re-work my solution.&lt;/P&gt;&lt;P&gt;Thanks for your efforts.&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2011 16:12:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dollar-Sign-Expansion-and-Sum/m-p/216115#M69497</guid>
      <dc:creator>chris_johnson</dc:creator>
      <dc:date>2011-04-14T16:12:06Z</dc:date>
    </item>
    <item>
      <title>Dollar Sign Expansion and Sum</title>
      <link>https://community.qlik.com/t5/QlikView/Dollar-Sign-Expansion-and-Sum/m-p/216116#M69498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Chris - I have very similar requirement very soon. So please can you tell me the effecient way of handling this issue. I mean what would you do to solve this issue with least efforts?&lt;/P&gt;&lt;P&gt;Thanks in anticipation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2011 16:21:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dollar-Sign-Expansion-and-Sum/m-p/216116#M69498</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-04-14T16:21:44Z</dc:date>
    </item>
    <item>
      <title>Dollar Sign Expansion and Sum</title>
      <link>https://community.qlik.com/t5/QlikView/Dollar-Sign-Expansion-and-Sum/m-p/216117#M69499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK - so just had an additional thought about this as it was bugging me from earlier.&lt;/P&gt;&lt;P&gt;Attached is my solution which may work for you. It uses a variable which concatenates the expressions. I added a LineNo value in the Load to identify for the pick in the expression.&lt;/P&gt;&lt;P&gt;Not sure it makes sense, don't know why you'd need it, but seems to solve your particular problem. Let me know if you have any questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2011 17:28:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dollar-Sign-Expansion-and-Sum/m-p/216117#M69499</guid>
      <dc:creator>nathanfurby</dc:creator>
      <dc:date>2011-04-14T17:28:07Z</dc:date>
    </item>
    <item>
      <title>Dollar Sign Expansion and Sum</title>
      <link>https://community.qlik.com/t5/QlikView/Dollar-Sign-Expansion-and-Sum/m-p/216118#M69500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;NathanFurby - I really love this now. I am taking a bow for this one. Very very smart solution and this is exactly what I need. I owe you for this one...&lt;/P&gt;&lt;P&gt;Thanks a ton again!&lt;/P&gt;&lt;P&gt;I actually don't deserve points for this one... how can we change it?&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2011 17:48:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dollar-Sign-Expansion-and-Sum/m-p/216118#M69500</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-04-14T17:48:06Z</dc:date>
    </item>
    <item>
      <title>Dollar Sign Expansion and Sum</title>
      <link>https://community.qlik.com/t5/QlikView/Dollar-Sign-Expansion-and-Sum/m-p/216119#M69501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi both,&lt;/P&gt;&lt;P&gt;Have been away from the internet for a while but thought I'd have another look locally. Had a fiddle with my example and got it to work in a slightly different way. Had to create seperate tables for each expression and then do a check in the straight table to see which expression to use.&lt;/P&gt;&lt;P&gt;I've uploaded it so by all means have a look and tell me your opinion.&lt;/P&gt;&lt;P&gt;Nathan - thanks for putting your effort in too, I'll have a look now and see how you've done it.&lt;/P&gt;&lt;P&gt;DV - I can unmark this as an answer I think and mark Nathan's as the answer if that's ok with you all?&lt;/P&gt;&lt;P&gt;Thanks again to you both,&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2011 19:41:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dollar-Sign-Expansion-and-Sum/m-p/216119#M69501</guid>
      <dc:creator>chris_johnson</dc:creator>
      <dc:date>2011-04-14T19:41:22Z</dc:date>
    </item>
    <item>
      <title>Dollar Sign Expansion and Sum</title>
      <link>https://community.qlik.com/t5/QlikView/Dollar-Sign-Expansion-and-Sum/m-p/216120#M69502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nathan, just had a look at your solution. I like it!&lt;/P&gt;&lt;P&gt;Thanks again for everyone's help&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2011 19:56:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dollar-Sign-Expansion-and-Sum/m-p/216120#M69502</guid>
      <dc:creator>chris_johnson</dc:creator>
      <dc:date>2011-04-14T19:56:02Z</dc:date>
    </item>
    <item>
      <title>Dollar Sign Expansion and Sum</title>
      <link>https://community.qlik.com/t5/QlikView/Dollar-Sign-Expansion-and-Sum/m-p/216121#M69503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Chris - Thanks for sharing your idea. Yes, thanks for unmarking my post as an answer and marking Nathan's recent post as an answer.&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2011 09:16:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dollar-Sign-Expansion-and-Sum/m-p/216121#M69503</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-04-15T09:16:42Z</dc:date>
    </item>
    <item>
      <title>Dollar Sign Expansion and Sum</title>
      <link>https://community.qlik.com/t5/QlikView/Dollar-Sign-Expansion-and-Sum/m-p/216122#M69504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No worries guys. I'd also keep DV's answer marked - it is correct for what you were trying to do and that post might help other people understand what's going on.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2011 09:20:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dollar-Sign-Expansion-and-Sum/m-p/216122#M69504</guid>
      <dc:creator>nathanfurby</dc:creator>
      <dc:date>2011-04-15T09:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: Dollar Sign Expansion and Sum</title>
      <link>https://community.qlik.com/t5/QlikView/Dollar-Sign-Expansion-and-Sum/m-p/216123#M69505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@Chris: I found use of your solution, but if you want to use LineNo as a your table is not filled&amp;nbsp; in LineNo order the concat-solution will be messed up&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Expressions:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;load * inline [&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Line Description, Expression, LineNo&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;UK Sales, "Sum({&amp;lt;Region={'UK'}&amp;gt;}"Transaction Amount")", 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;US Sales, "Sum({&amp;lt;Region={'US'}&amp;gt;}"Transaction Amount")", &lt;SPAN style="color: #ff0000;"&gt;3&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;SE Sales, "Sum({&amp;lt;Region={'SE'}&amp;gt;}"Transaction Amount")", 2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; color: #ff0000;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;It can be saved by including LineNo as a sort_weight into the concat() statement like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;=concat({1}Expression,','&lt;SPAN style="color: #ff0000;"&gt;,LineNo&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will force QlikView to do the concat in the numeric LineNo-order starting with the lowest number.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2012 08:12:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dollar-Sign-Expansion-and-Sum/m-p/216123#M69505</guid>
      <dc:creator />
      <dc:date>2012-03-29T08:12:24Z</dc:date>
    </item>
  </channel>
</rss>

