<?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: Dollar Sign Expansion not working properly in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dollar-Sign-Expansion-not-working-properly/m-p/1253381#M872142</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the expression &lt;STRONG&gt;vTeam&lt;/STRONG&gt; , add&amp;nbsp; '=' at the beginning.&lt;/P&gt;&lt;P&gt;And the calculation will be calculated globally once and will give you the desired value&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Nov 2016 07:48:32 GMT</pubDate>
    <dc:creator>amirkachlon</dc:creator>
    <dc:date>2016-11-16T07:48:32Z</dc:date>
    <item>
      <title>Dollar Sign Expansion not working properly</title>
      <link>https://community.qlik.com/t5/QlikView/Dollar-Sign-Expansion-not-working-properly/m-p/1253379#M872140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm very confused. I have a field that contains a list of names of employees that have interacted with an account.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;account&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; analyst&lt;/P&gt;&lt;P&gt;123&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Joe&lt;/P&gt;&lt;P&gt;234&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Kim&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use a variable to store the names of the team that I work with in a variable expression, and use that to match accounts they've been tied to, using IF(MATCH())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This work fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an issue when trying to utilize this in an expression. For example, I'm trying to find the average of the accounts they are tied to in any given month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My formula looks like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;((SUM(Var1Dummy)) + (SUM(Var2Dummy))) /&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff8000; font-size: 8pt; text-decoration: underline;"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Distinct&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;$(vTeam)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;))&lt;/SPAN&gt;&lt;STRONG style=": ; color: #ff8000; font-size: 8pt; text-decoration: underline;"&gt;) &lt;/STRONG&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;SPAN style="color: #000000; font-size: 10pt;"&gt;The reason I'm confused is because this formula does NOT return the correct number for average. If i multiple it back by the number of people on the team, it's greater than 100% of the actual number for that month.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;When I use&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #ff8000; font-size: 8pt; text-decoration: underline;"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Distinct&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;$(vTeam)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;)))&lt;/SPAN&gt;&lt;SPAN style="color: #ff8000; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;&lt;SPAN&gt;In a Text Object - It returns 14, the number of analysts on the team.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;&lt;SPAN&gt;When I hardcode '14' in the formula, it seems to return the appropriate number for the monthly average. I just don't want to have to hardcode the amount of analysts on the team. I would rather it change when the variables is updated with any analyst who has joined/left the team.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;&lt;SPAN&gt;I'm confused as to how this SAME formula is resolving in a text object appropriately, 14, but not return the appropriate amount when used in the formula. Also, I've wrapped the numerator and denominator in () to ensure they are resolving correctly.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dollar-Sign-Expansion-not-working-properly/m-p/1253379#M872140</guid>
      <dc:creator>lucasdavis500</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Dollar Sign Expansion not working properly</title>
      <link>https://community.qlik.com/t5/QlikView/Dollar-Sign-Expansion-not-working-properly/m-p/1253380#M872141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you need to ignore the dimensions of the chart. Try it with: &lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Distinct &lt;STRONG&gt;TOTAL&lt;/STRONG&gt;&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;$(vTeam)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;/SPAN&gt; or maybe putting these calculations into a variable, too and using them this variable within your expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2016 07:37:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dollar-Sign-Expansion-not-working-properly/m-p/1253380#M872141</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-11-16T07:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: Dollar Sign Expansion not working properly</title>
      <link>https://community.qlik.com/t5/QlikView/Dollar-Sign-Expansion-not-working-properly/m-p/1253381#M872142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the expression &lt;STRONG&gt;vTeam&lt;/STRONG&gt; , add&amp;nbsp; '=' at the beginning.&lt;/P&gt;&lt;P&gt;And the calculation will be calculated globally once and will give you the desired value&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2016 07:48:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dollar-Sign-Expansion-not-working-properly/m-p/1253381#M872142</guid>
      <dc:creator>amirkachlon</dc:creator>
      <dc:date>2016-11-16T07:48:32Z</dc:date>
    </item>
  </channel>
</rss>

