<?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 vs single value in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/average-vs-single-value/m-p/1100794#M18596</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great thanks!! it works! not so beautiful in table visualization but it works&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Jun 2016 16:00:03 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-06-21T16:00:03Z</dc:date>
    <item>
      <title>average vs single value</title>
      <link>https://community.qlik.com/t5/App-Development/average-vs-single-value/m-p/1100786#M18588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, i want to compare database single values (amount) with the average value of every shop and if the value is lower i want to obtain the id_moviment, but a line like this doesn't work,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(amount &amp;lt; avg(aggr (amount, shop_id_movimento)), id_moviment)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2016 15:07:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/average-vs-single-value/m-p/1100786#M18588</guid>
      <dc:creator />
      <dc:date>2016-06-13T15:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: average vs single value</title>
      <link>https://community.qlik.com/t5/App-Development/average-vs-single-value/m-p/1100787#M18589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am guessing that this is used a calculated dimension. Can you try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;If(amount &amp;lt; Avg(&lt;SPAN style="color: #ff0000;"&gt;TOTAL&lt;/SPAN&gt; Aggr(amount, shop_id_movimento)), id_moviment)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2016 15:16:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/average-vs-single-value/m-p/1100787#M18589</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-13T15:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: average vs single value</title>
      <link>https://community.qlik.com/t5/App-Development/average-vs-single-value/m-p/1100788#M18590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It doesn't work, maybe because it take the first 'amount' from all the table, instead i want that qlik compare only the value of the shop with the average of all the values of shop&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2016 16:20:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/average-vs-single-value/m-p/1100788#M18590</guid>
      <dc:creator />
      <dc:date>2016-06-13T16:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: average vs single value</title>
      <link>https://community.qlik.com/t5/App-Development/average-vs-single-value/m-p/1100789#M18591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to provide more information as to where exactly are you trying to use this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2016 16:28:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/average-vs-single-value/m-p/1100789#M18591</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-13T16:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: average vs single value</title>
      <link>https://community.qlik.com/t5/App-Development/average-vs-single-value/m-p/1100790#M18592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a database with transactions of many shops and i want find the transactions that are above or under average of the transactions of every single shop&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 12:24:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/average-vs-single-value/m-p/1100790#M18592</guid>
      <dc:creator />
      <dc:date>2016-06-15T12:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: average vs single value</title>
      <link>https://community.qlik.com/t5/App-Development/average-vs-single-value/m-p/1100791#M18593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share few rows of data with the expected output to help you better?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:25:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/average-vs-single-value/m-p/1100791#M18593</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-15T16:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: average vs single value</title>
      <link>https://community.qlik.com/t5/App-Development/average-vs-single-value/m-p/1100792#M18594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;input: &lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;id_moviment = id of every transaction&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Amount = amount $ of every transaction&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;shop_id_movimento =&amp;nbsp; id of every shop&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;id_moviment, &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Amount, &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;shop_id_movimento)&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; text-decoration: underline;"&gt;(3098465, 10€, 56)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(2049464, 90€, 56)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(2064564, 100€, 56)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(2054651, 12€, 80)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(405656, 20€, 80)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;(504650, 2€, 80)&lt;/SPAN&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;avg shop: 56 = 66,66€&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;avg shop: 80 = 11,33€&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;output:&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;id_moviment = &lt;STRONG style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; text-decoration: underline;"&gt;3098465&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;id_moviment = &lt;STRONG style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; text-decoration: underline;"&gt;504650&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&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;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;id_moviment: of every transaction with an amount that is lower than the average amount for every shop&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 08:23:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/average-vs-single-value/m-p/1100792#M18594</guid>
      <dc:creator />
      <dc:date>2016-06-16T08:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: average vs single value</title>
      <link>https://community.qlik.com/t5/App-Development/average-vs-single-value/m-p/1100793#M18595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know how you are visualizing this, but this is what you can try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Dimension:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-size: 10.0pt; font-family: 'Helvetica',sans-serif;"&gt;shop_id_movimento,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-size: 10.0pt; font-family: 'Helvetica',sans-serif;"&gt;id_moviment&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Expression:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=If(Amount &amp;lt; Avg(TOTAL &amp;lt;shop_id_movimento&amp;gt; Amount), id_moviment)&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;or this if you only have shop_id_movimento as dimension or if you are using a KPI Bar&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Concat(DISTINCT Aggr(If(Amount &amp;lt; Avg(TOTAL &amp;lt;shop_id_movimento&amp;gt; Amount), id_moviment), id_moviment, shop_id_movimento), ', ')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 17:28:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/average-vs-single-value/m-p/1100793#M18595</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-16T17:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: average vs single value</title>
      <link>https://community.qlik.com/t5/App-Development/average-vs-single-value/m-p/1100794#M18596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great thanks!! it works! not so beautiful in table visualization but it works&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2016 16:00:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/average-vs-single-value/m-p/1100794#M18596</guid>
      <dc:creator />
      <dc:date>2016-06-21T16:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: average vs single value</title>
      <link>https://community.qlik.com/t5/App-Development/average-vs-single-value/m-p/1100795#M18597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great, if you are satisfied with what you have, please close this thread down by marking the correct and helpful response. If you still looking to make improvements, please elaborate on how you want the visualization to be improved.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-14806"&gt;Qlik Community Tip: Marking Replies as Correct or Helpful&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2016 21:10:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/average-vs-single-value/m-p/1100795#M18597</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-21T21:10:38Z</dc:date>
    </item>
  </channel>
</rss>

