<?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: Qlik Sense, plot total average and distinct values at the same time in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-plot-total-average-and-distinct-values-at-the-same/m-p/14930#M1036</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Default chart visualization can have multiple dimension OR multiple measures.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 May 2018 15:57:28 GMT</pubDate>
    <dc:creator>dwforest</dc:creator>
    <dc:date>2018-05-10T15:57:28Z</dc:date>
    <item>
      <title>Qlik Sense, plot total average and distinct values at the same time</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-plot-total-average-and-distinct-values-at-the-same/m-p/14929#M1035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;I'm trying to plot in line, bar or combo chart my data with:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;2 dimensions&lt;UL&gt;&lt;LI&gt;Date, expressed in Year Month&lt;/LI&gt;&lt;LI&gt;Store, expressed as a string that show the store's name&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;1 measure: sum of sales (in quantity)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to plot on the same chart the average of sales by date of all the stores (or the average of the selected stores)&lt;SPAN style="font-size: 13.3333px;"&gt;, at the same time with my distinct stores.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;My target is to create a visualization that lets my user to visualize the difference between the total average and the single stores.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Here is a snapshot of my line chart.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;IMG alt="fd693529a22c4b1f966a6af0cfa52b4f.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/202069_fd693529a22c4b1f966a6af0cfa52b4f.png" style="height: 194px; width: 620px;" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thanks in advance for any suggestion and precious help. Best regards.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;- Federico Rizzello&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2018 10:43:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-plot-total-average-and-distinct-values-at-the-same/m-p/14929#M1035</guid>
      <dc:creator>Federico_Rizzello</dc:creator>
      <dc:date>2018-05-10T10:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense, plot total average and distinct values at the same time</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-plot-total-average-and-distinct-values-at-the-same/m-p/14930#M1036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Default chart visualization can have multiple dimension OR multiple measures.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2018 15:57:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-plot-total-average-and-distinct-values-at-the-same/m-p/14930#M1036</guid>
      <dc:creator>dwforest</dc:creator>
      <dc:date>2018-05-10T15:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense, plot total average and distinct values at the same time</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-plot-total-average-and-distinct-values-at-the-same/m-p/14931#M1037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;I get your suggestion, but I don't know how to add a second measure (e.g. the overall average) while I already have two dimensions (Dates, Stores) on my chart.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2018 09:49:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-plot-total-average-and-distinct-values-at-the-same/m-p/14931#M1037</guid>
      <dc:creator>Federico_Rizzello</dc:creator>
      <dc:date>2018-05-11T09:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense, plot total average and distinct values at the same time</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-plot-total-average-and-distinct-values-at-the-same/m-p/14932#M1038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Federico,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is not a nice solution but I think it can work for your case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a fake dimension called for example "Cod_Negozio_New" in the following way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD DISTINCT Cod_Negozio, Cod_Negozio AS Cod_Negozio_New resident "your transaction table"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD DISTINCT Cod_Negozio, 'Average' AS Cod_Negozio_New resident "your transaction table"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this way your new store dimension will contain a new value 'Average' associated with all your original stores.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in graph use "Cod_Negozio_New" instead of "Cod_Negozio" and in the expression write something like this: IF(Cod_Negozio_New = 'Average', AVG(Sales), SUM(Sales)).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2018 11:47:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-plot-total-average-and-distinct-values-at-the-same/m-p/14932#M1038</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-14T11:47:49Z</dc:date>
    </item>
  </channel>
</rss>

