<?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 Show average in diagram in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Show-average-in-diagram/m-p/127950#M19365</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a question - i have the following problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table with the following details:&lt;/P&gt;&lt;P&gt;TicketID,&lt;/P&gt;&lt;P&gt;StartDate,&lt;/P&gt;&lt;P&gt;EndDate,&lt;/P&gt;&lt;P&gt;Employee,&lt;/P&gt;&lt;P&gt;Role&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now what i want to do is to make a diagram (bar chart / line chart). In bars i want to show in calendar weeks, how many tickets were started -&amp;gt; there i made an calculated dimension (WeekName(StartDate)) and so got for every calendar weeks the started tickets - in the formula i used a count to count the tickets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now what i want is to show in a line the average - how many tickets were started in average. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And if i select an emloyee i want to see these average for his role and if no employee is selected i want to see the average over all roles.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sometime it is so, that over the year an employee can change his role - than i watn to see the average for both roles. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont now how i should do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you can help me. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Oct 2018 07:54:09 GMT</pubDate>
    <dc:creator>5abi0001</dc:creator>
    <dc:date>2018-10-23T07:54:09Z</dc:date>
    <item>
      <title>Show average in diagram</title>
      <link>https://community.qlik.com/t5/QlikView/Show-average-in-diagram/m-p/127950#M19365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a question - i have the following problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table with the following details:&lt;/P&gt;&lt;P&gt;TicketID,&lt;/P&gt;&lt;P&gt;StartDate,&lt;/P&gt;&lt;P&gt;EndDate,&lt;/P&gt;&lt;P&gt;Employee,&lt;/P&gt;&lt;P&gt;Role&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now what i want to do is to make a diagram (bar chart / line chart). In bars i want to show in calendar weeks, how many tickets were started -&amp;gt; there i made an calculated dimension (WeekName(StartDate)) and so got for every calendar weeks the started tickets - in the formula i used a count to count the tickets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now what i want is to show in a line the average - how many tickets were started in average. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And if i select an emloyee i want to see these average for his role and if no employee is selected i want to see the average over all roles.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sometime it is so, that over the year an employee can change his role - than i watn to see the average for both roles. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont now how i should do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you can help me. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2018 07:54:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-average-in-diagram/m-p/127950#M19365</guid>
      <dc:creator>5abi0001</dc:creator>
      <dc:date>2018-10-23T07:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: Show average in diagram</title>
      <link>https://community.qlik.com/t5/QlikView/Show-average-in-diagram/m-p/127951#M19366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No ideas? &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2018 09:51:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-average-in-diagram/m-p/127951#M19366</guid>
      <dc:creator>5abi0001</dc:creator>
      <dc:date>2018-10-24T09:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: Show average in diagram</title>
      <link>https://community.qlik.com/t5/QlikView/Show-average-in-diagram/m-p/127952#M19367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;a sample would be helpful ....&lt;/P&gt;&lt;P&gt;Within the datamodel you should link the Employee with his role.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When an Employee is selected, automatically his role(s) will be selected as well.&lt;/P&gt;&lt;P&gt;Expression then may look like:&lt;/P&gt;&lt;P&gt;COUNT({$&amp;lt;Employee = &amp;gt;} Ticket) / COUNT(DISTINCT WeekName)&lt;/P&gt;&lt;P&gt;Expression will count the tickets with the current selections, but not considering the Employee-selection, but it will consider the roles linked with the employee.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2018 10:15:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-average-in-diagram/m-p/127952#M19367</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2018-10-24T10:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: Show average in diagram</title>
      <link>https://community.qlik.com/t5/QlikView/Show-average-in-diagram/m-p/127953#M19368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey i already linked the employee to his role &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what i have now .. i have per calendarweek the started tickets &lt;/P&gt;&lt;P&gt;&lt;IMG alt="S2.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/216666_S2.png" style="height: 178px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now what i want is, if no employee is selected i want the average started tickets per role .. it shoudl look like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="S1.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/216667_S1.png" style="height: 178px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the first diagram i have a calculated dimension -&amp;gt; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;WeekName(StartDate) and in the formula a count the started tickets&lt;/SPAN&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;BR /&gt;&lt;/SPAN&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;Now i dont know how i should realize the second diagram. If no employee is selcted i want to see the average started tcikets per role (there are 3 roles in total).&lt;/SPAN&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;BR /&gt;&lt;/SPAN&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;Employee and Role are already linked in the data model. &lt;/SPAN&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;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2018 13:38:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-average-in-diagram/m-p/127953#M19368</guid>
      <dc:creator>5abi0001</dc:creator>
      <dc:date>2018-10-24T13:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: Show average in diagram</title>
      <link>https://community.qlik.com/t5/QlikView/Show-average-in-diagram/m-p/127954#M19369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you post an example.&lt;/P&gt;&lt;P&gt;On first glance, you only need to have Role as Dimension &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2018 10:34:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-average-in-diagram/m-p/127954#M19369</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2018-10-25T10:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: Show average in diagram</title>
      <link>https://community.qlik.com/t5/QlikView/Show-average-in-diagram/m-p/127955#M19370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Peter .. i already managed it! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;WeekName(StartDate) as Dimension an created 4 formulas .. one where i count the tickets and show the started tickets and 3 for every role where i divided the sum of tickets for each role trough the numbers of employee which are linked to the role.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2018 11:49:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-average-in-diagram/m-p/127955#M19370</guid>
      <dc:creator>5abi0001</dc:creator>
      <dc:date>2018-10-25T11:49:44Z</dc:date>
    </item>
  </channel>
</rss>

