<?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: Build Logic to repetitive devices as 1, using loops/sum/count/if/set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Build-Logic-to-repetitive-devices-as-1-using-loops-sum-count-if/m-p/1534720#M600853</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've created a data model that will provide information if device was up or down in rolling 3/7 days. Please verify if information in the table looks right. If it looks right then we can work on coming up with expressionx for KPIs or charts.&lt;/P&gt;&lt;P&gt;Some of the table and/or fields may be dropped from the data model.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DM.PNG" style="width: 929px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/4439i9D999C5089D7B10B/image-size/large?v=v2&amp;amp;px=999" role="button" title="DM.PNG" alt="DM.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="down.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/4440i9AAD6DFCDF3AB3EE/image-size/large?v=v2&amp;amp;px=999" role="button" title="down.PNG" alt="down.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;</description>
    <pubDate>Thu, 24 Jan 2019 18:44:37 GMT</pubDate>
    <dc:creator>vvira1316</dc:creator>
    <dc:date>2019-01-24T18:44:37Z</dc:date>
    <item>
      <title>Build Logic to repetitive devices as 1, using loops/sum/count/if/set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Build-Logic-to-repetitive-devices-as-1-using-loops-sum-count-if/m-p/1531171#M600844</link>
      <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me building logic on below scenario.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a data(attached), in which there are many device saying A/B/C.., with their server up/down status being 1/0 respectively and dates(24 Hour) correspondingly to it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I want here is to Count No. of distinct devices in a dataset, which are UP in entire day for atleast once. Means, If any device is Up i.e 1&amp;nbsp; for atleast once in a day, then it is counted as 1, and check for other devices and count the others similarly.&amp;nbsp; and finally show the total UP devices Reported. Vice Versa for the devices which were Down whole day.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am sorry, if I am putting this again, But I did'nt find any post regarding this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not sure which function/loop will give the correct logic? Can we do it through loop, or set analysis can do this?&lt;/P&gt;&lt;P&gt;I am attaching a sample qvw with sample data-set, if anybody can help in building this logic, will be appreciable.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jan 2019 16:39:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Build-Logic-to-repetitive-devices-as-1-using-loops-sum-count-if/m-p/1531171#M600844</guid>
      <dc:creator>himani_a_agrawa</dc:creator>
      <dc:date>2019-01-16T16:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: Build Logic to repetitive devices as 1, using loops/sum/count/if/set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Build-Logic-to-repetitive-devices-as-1-using-loops-sum-count-if/m-p/1531196#M600845</link>
      <description>&lt;P&gt;Is this close to what you want?&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jan 2019 17:27:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Build-Logic-to-repetitive-devices-as-1-using-loops-sum-count-if/m-p/1531196#M600845</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2019-01-16T17:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: Build Logic to repetitive devices as 1, using loops/sum/count/if/set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Build-Logic-to-repetitive-devices-as-1-using-loops-sum-count-if/m-p/1531207#M600846</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please see attached. Not sure if that is what you are looking for. if not please advise expected results.&lt;/P&gt;&lt;P&gt;I've added few records for verification.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="count.PNG" style="width: 314px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/3885i215E75E261F7E5CA/image-size/large?v=v2&amp;amp;px=999" role="button" title="count.PNG" alt="count.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jan 2019 19:56:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Build-Logic-to-repetitive-devices-as-1-using-loops-sum-count-if/m-p/1531207#M600846</guid>
      <dc:creator>vvira1316</dc:creator>
      <dc:date>2019-01-16T19:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: Build Logic to repetitive devices as 1, using loops/sum/count/if/set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Build-Logic-to-repetitive-devices-as-1-using-loops-sum-count-if/m-p/1531353#M600847</link>
      <description>&lt;P&gt;Any other way? Since KPIs cannot be calculated, table is not our requirement. I want to make two KPI which will show Todays(Max date) Up/Down devices. and if we change dates from list box, then the KPIs also gets changed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But Keeping the logic in place, that if device isis Up i.e 1&amp;nbsp; for more than once/six times in a day(24 hour time) then the device should be counted as 1.&amp;nbsp; or if it is down whole day then counted in total Down devices.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attached snip, is just an example to show, since my No are not coming correctly, hence Ups and downs sum are not equal to the total.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jan 2019 07:25:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Build-Logic-to-repetitive-devices-as-1-using-loops-sum-count-if/m-p/1531353#M600847</guid>
      <dc:creator>himani_a_agrawa</dc:creator>
      <dc:date>2019-01-17T07:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: Build Logic to repetitive devices as 1, using loops/sum/count/if/set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Build-Logic-to-repetitive-devices-as-1-using-loops-sum-count-if/m-p/1531354#M600848</link>
      <description>&lt;P&gt;Not Sure, Since KPIs are not limited by date field.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want UP or down changes as I select date.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jan 2019 07:26:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Build-Logic-to-repetitive-devices-as-1-using-loops-sum-count-if/m-p/1531354#M600848</guid>
      <dc:creator>himani_a_agrawa</dc:creator>
      <dc:date>2019-01-17T07:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: Build Logic to repetitive devices as 1, using loops/sum/count/if/set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Build-Logic-to-repetitive-devices-as-1-using-loops-sum-count-if/m-p/1531551#M600849</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;KPI would change as per date selection or device selection. We can restrict certain behavior or achieve certain behavior. I've done count based on timestamp. I'm not able to completely understand your requirement.&lt;/P&gt;&lt;P&gt;Please see attached and advise changes as per your requirement. What happens if device is up less than 6 times in a day? Is it counted in down device?&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jan 2019 13:01:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Build-Logic-to-repetitive-devices-as-1-using-loops-sum-count-if/m-p/1531551#M600849</guid>
      <dc:creator>vvira1316</dc:creator>
      <dc:date>2019-01-17T13:01:41Z</dc:date>
    </item>
    <item>
      <title>Re: Build Logic to repetitive devices as 1, using loops/sum/count/if/set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Build-Logic-to-repetitive-devices-as-1-using-loops-sum-count-if/m-p/1533601#M600850</link>
      <description>&lt;P&gt;Thanks. The logic of making two table for UP &amp;amp; Down devices worked fine and satisfied my requirement. But What if we wanted to see another KPI, in which we need the Count of Devices which is Down for 3 days/7 days. Do we need to make another two tables. (Means For 1 device, Up field remains&amp;nbsp; 0 for last 3 days, and hence show the count)&lt;/P&gt;&lt;P&gt;Please Suggest.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jan 2019 04:11:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Build-Logic-to-repetitive-devices-as-1-using-loops-sum-count-if/m-p/1533601#M600850</guid>
      <dc:creator>himani_a_agrawa</dc:creator>
      <dc:date>2019-01-23T04:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: Build Logic to repetitive devices as 1, using loops/sum/count/if/set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Build-Logic-to-repetitive-devices-as-1-using-loops-sum-count-if/m-p/1533856#M600851</link>
      <description>&lt;P&gt;Calendar functionality may help. Can you please provide a sample data set with expected result? It will help to understand your need properly.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jan 2019 13:13:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Build-Logic-to-repetitive-devices-as-1-using-loops-sum-count-if/m-p/1533856#M600851</guid>
      <dc:creator>vvira1316</dc:creator>
      <dc:date>2019-01-23T13:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: Build Logic to repetitive devices as 1, using loops/sum/count/if/set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Build-Logic-to-repetitive-devices-as-1-using-loops-sum-count-if/m-p/1534220#M600852</link>
      <description>&lt;P&gt;Sure.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attached is the file.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 06:16:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Build-Logic-to-repetitive-devices-as-1-using-loops-sum-count-if/m-p/1534220#M600852</guid>
      <dc:creator>himani_a_agrawa</dc:creator>
      <dc:date>2019-01-24T06:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: Build Logic to repetitive devices as 1, using loops/sum/count/if/set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Build-Logic-to-repetitive-devices-as-1-using-loops-sum-count-if/m-p/1534720#M600853</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've created a data model that will provide information if device was up or down in rolling 3/7 days. Please verify if information in the table looks right. If it looks right then we can work on coming up with expressionx for KPIs or charts.&lt;/P&gt;&lt;P&gt;Some of the table and/or fields may be dropped from the data model.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DM.PNG" style="width: 929px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/4439i9D999C5089D7B10B/image-size/large?v=v2&amp;amp;px=999" role="button" title="DM.PNG" alt="DM.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="down.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/4440i9AAD6DFCDF3AB3EE/image-size/large?v=v2&amp;amp;px=999" role="button" title="down.PNG" alt="down.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 18:44:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Build-Logic-to-repetitive-devices-as-1-using-loops-sum-count-if/m-p/1534720#M600853</guid>
      <dc:creator>vvira1316</dc:creator>
      <dc:date>2019-01-24T18:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: Build Logic to repetitive devices as 1, using loops/sum/count/if/set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Build-Logic-to-repetitive-devices-as-1-using-loops-sum-count-if/m-p/1534754#M600854</link>
      <description>&lt;P&gt;Can you please explain me your logic, I am unable t collect facts.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, How can we use expression, to exactly count no of devices down for 3/7 days.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 19:53:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Build-Logic-to-repetitive-devices-as-1-using-loops-sum-count-if/m-p/1534754#M600854</guid>
      <dc:creator>himani_a_agrawa</dc:creator>
      <dc:date>2019-01-24T19:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: Build Logic to repetitive devices as 1, using loops/sum/count/if/set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Build-Logic-to-repetitive-devices-as-1-using-loops-sum-count-if/m-p/1534825#M600855</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;There was an error in calculation that I've corrected. I've included new QVW file as well as an Excel file that will help you understand the data scenario.&amp;nbsp; You can compare information between Excel and QVW.&lt;/P&gt;&lt;P&gt;I hope explanation in word document will aid in understanding.&lt;/P&gt;&lt;P&gt;Data Model can be cleaned up and some additional/meaningful flag can be created for calculations.&lt;/P&gt;&lt;P&gt;KPIs and Expressions will have to be worked out using Set Analysis.&lt;/P&gt;&lt;P&gt;Let me know if you will need any further help.&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jan 2019 01:11:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Build-Logic-to-repetitive-devices-as-1-using-loops-sum-count-if/m-p/1534825#M600855</guid>
      <dc:creator>vvira1316</dc:creator>
      <dc:date>2019-01-25T01:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: Build Logic to repetitive devices as 1, using loops/sum/count/if/set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Build-Logic-to-repetitive-devices-as-1-using-loops-sum-count-if/m-p/1535459#M600856</link>
      <description>&lt;P&gt;Can we simplify the data model, since I already have other data table, which is making it more complex.&lt;/P&gt;&lt;P&gt;Attached is the snip of showing my data tables.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 26 Jan 2019 06:20:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Build-Logic-to-repetitive-devices-as-1-using-loops-sum-count-if/m-p/1535459#M600856</guid>
      <dc:creator>himani_a_agrawa</dc:creator>
      <dc:date>2019-01-26T06:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: Build Logic to repetitive devices as 1, using loops/sum/count/if/set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Build-Logic-to-repetitive-devices-as-1-using-loops-sum-count-if/m-p/1535483#M600857</link>
      <description>&lt;P&gt;Here is the simplified file&lt;/P&gt;</description>
      <pubDate>Sat, 26 Jan 2019 13:36:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Build-Logic-to-repetitive-devices-as-1-using-loops-sum-count-if/m-p/1535483#M600857</guid>
      <dc:creator>vvira1316</dc:creator>
      <dc:date>2019-01-26T13:36:16Z</dc:date>
    </item>
  </channel>
</rss>

