<?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 How to calculate statistic data from alternate states? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-calculate-statistic-data-from-alternate-states/m-p/409836#M1157141</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Qlikview users,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm developing a dashboard which visualizes temperature and gasconsumption of a building. I've build an scatter plot which shows the temperature-values on the x-axis and all gasvalues for a temperature on the y-axis. This applies for the &lt;EM&gt;whole&lt;/EM&gt; dataset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is an example of the scatter-plot:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="34380" class="jive-image-thumbnail jive-image jiveImage" alt="scatter.PNG" src="https://community.qlik.com/legacyfs/online/34380_scatter.PNG" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the Dashboard-user must be able to refine the whole dataset to smaller datasets with certain parameters, such as the hours of the day and days in the year. The filtering of the whole dataset is accomplished with slider objects and charts which makes it visual. &lt;SPAN style="font-size: 10pt;"&gt;To differentiate between different states I made use of comparative analysis, to create two states: "TW1" and "TW2". Below is an example of 'state TW2'. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="34388" class="jive-image-thumbnail jive-image" onclick="" alt="tw2.PNG" src="https://community.qlik.com/legacyfs/online/34388_tw2.PNG" width="450" /&gt;&lt;/P&gt;&lt;P&gt; The left chart shows the years of the day against the gasconsumption. The &lt;SPAN style="color: #3366ff;"&gt;blue&lt;/SPAN&gt; plot shows the whole dataset (it's independent of the selection). The &lt;SPAN style="color: #ff0000;"&gt;red&lt;/SPAN&gt; plot shows a selected dataset, based on the range selected with the slider. The right charts shows the gasconsumption on every selected range of hours of the day. Every chart represents a day (mon - fri). &lt;EM&gt;&lt;STRONG&gt;The selection of TW2 consists of the selected range of the days of years and range of hours of the day&lt;/STRONG&gt;&lt;/EM&gt;. The same applies to TW1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG style="font-size: 10pt;"&gt;These two datasets must be compared to eachother and I need to accomplish te following:&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;EM&gt;&lt;STRONG style="font-size: 10pt;"&gt;Make a scatter plot for each set in one graph&lt;/STRONG&gt;&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;&lt;STRONG style="font-size: 10pt;"&gt;Make tables with basic and statistic data&lt;/STRONG&gt;&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Table with basic data:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" height="91" style="width: 456px; border: 1px solid rgb(0, 0, 0); height: 89px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Time Window&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Total Gas&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Average Gas&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Max Gas&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;All Data&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;TW1&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;TW2&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; Table with statistic characteristics&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" height="124" style="width: 268px; border: 1px solid rgb(0, 0, 0); height: 126px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Time Window&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Alpha&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;TW1&lt;/TD&gt;&lt;TD&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;TW2&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; However, I didn't succeed in creating the structure for the table as described above. I tried it with the straight table and tablebox. They allow you to select data-fields as columns/row, but "All Data" isn't a field, neither the state-groups "TW1" and "TW2". Is there any way to accomplish the above? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, to summarize everything:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I need to make a scatter-plot for every state-group (TW1, TW2) in one chart&lt;/LI&gt;&lt;LI&gt;I need to make 'custom' tables with calculated values of the state-groups.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added my QlikView-file as attachment to look into the details!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #99cc00;"&gt;&lt;EM&gt;ps; The container with it's objects reacts kind of buggy, the slider sometimes disappears. Even the chart. When this occurs, just use the clear-button several times.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Mar 2013 18:04:00 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-03-05T18:04:00Z</dc:date>
    <item>
      <title>How to calculate statistic data from alternate states?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-statistic-data-from-alternate-states/m-p/409836#M1157141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Qlikview users,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm developing a dashboard which visualizes temperature and gasconsumption of a building. I've build an scatter plot which shows the temperature-values on the x-axis and all gasvalues for a temperature on the y-axis. This applies for the &lt;EM&gt;whole&lt;/EM&gt; dataset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is an example of the scatter-plot:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="34380" class="jive-image-thumbnail jive-image jiveImage" alt="scatter.PNG" src="https://community.qlik.com/legacyfs/online/34380_scatter.PNG" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the Dashboard-user must be able to refine the whole dataset to smaller datasets with certain parameters, such as the hours of the day and days in the year. The filtering of the whole dataset is accomplished with slider objects and charts which makes it visual. &lt;SPAN style="font-size: 10pt;"&gt;To differentiate between different states I made use of comparative analysis, to create two states: "TW1" and "TW2". Below is an example of 'state TW2'. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="34388" class="jive-image-thumbnail jive-image" onclick="" alt="tw2.PNG" src="https://community.qlik.com/legacyfs/online/34388_tw2.PNG" width="450" /&gt;&lt;/P&gt;&lt;P&gt; The left chart shows the years of the day against the gasconsumption. The &lt;SPAN style="color: #3366ff;"&gt;blue&lt;/SPAN&gt; plot shows the whole dataset (it's independent of the selection). The &lt;SPAN style="color: #ff0000;"&gt;red&lt;/SPAN&gt; plot shows a selected dataset, based on the range selected with the slider. The right charts shows the gasconsumption on every selected range of hours of the day. Every chart represents a day (mon - fri). &lt;EM&gt;&lt;STRONG&gt;The selection of TW2 consists of the selected range of the days of years and range of hours of the day&lt;/STRONG&gt;&lt;/EM&gt;. The same applies to TW1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG style="font-size: 10pt;"&gt;These two datasets must be compared to eachother and I need to accomplish te following:&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;EM&gt;&lt;STRONG style="font-size: 10pt;"&gt;Make a scatter plot for each set in one graph&lt;/STRONG&gt;&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;&lt;STRONG style="font-size: 10pt;"&gt;Make tables with basic and statistic data&lt;/STRONG&gt;&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Table with basic data:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" height="91" style="width: 456px; border: 1px solid rgb(0, 0, 0); height: 89px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Time Window&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Total Gas&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Average Gas&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Max Gas&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;All Data&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;TW1&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;TW2&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; Table with statistic characteristics&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" height="124" style="width: 268px; border: 1px solid rgb(0, 0, 0); height: 126px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Time Window&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Alpha&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;TW1&lt;/TD&gt;&lt;TD&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;TW2&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; However, I didn't succeed in creating the structure for the table as described above. I tried it with the straight table and tablebox. They allow you to select data-fields as columns/row, but "All Data" isn't a field, neither the state-groups "TW1" and "TW2". Is there any way to accomplish the above? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, to summarize everything:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I need to make a scatter-plot for every state-group (TW1, TW2) in one chart&lt;/LI&gt;&lt;LI&gt;I need to make 'custom' tables with calculated values of the state-groups.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added my QlikView-file as attachment to look into the details!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #99cc00;"&gt;&lt;EM&gt;ps; The container with it's objects reacts kind of buggy, the slider sometimes disappears. Even the chart. When this occurs, just use the clear-button several times.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Mar 2013 18:04:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-statistic-data-from-alternate-states/m-p/409836#M1157141</guid>
      <dc:creator />
      <dc:date>2013-03-05T18:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate statistic data from alternate states?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-statistic-data-from-alternate-states/m-p/409837#M1157142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've added a table on the GAS sheet with some data using the two states. I've also added two listboxes to make some selections for the states. And I've overlayed a second scatter chart over the first one. The bottom one uses state TW1, the one on top uses state TW2. On the tab Sheet2 is another scatter chart that sets the background color of expression T depending on the value of Cofely.Hour. These are now hardcoded, but that could be changed to using variables. I hope this helps you on the way to solving your challenges.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Mar 2013 19:02:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-statistic-data-from-alternate-states/m-p/409837#M1157142</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-03-05T19:02:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate statistic data from alternate states?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-statistic-data-from-alternate-states/m-p/409838#M1157143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your help. I appreciate it!&lt;BR /&gt;I'm currently editing my dashboard to exactly fit my needs, with your feedback&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Mar 2013 20:35:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-statistic-data-from-alternate-states/m-p/409838#M1157143</guid>
      <dc:creator />
      <dc:date>2013-03-05T20:35:01Z</dc:date>
    </item>
  </channel>
</rss>

