<?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: Survey data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Survey-data/m-p/821322#M1045314</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Count(distinct 1) ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Nov 2014 20:36:29 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-11-25T20:36:29Z</dc:date>
    <item>
      <title>Survey data</title>
      <link>https://community.qlik.com/t5/QlikView/Survey-data/m-p/821321#M1045313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just downloaded this today and am testing its functionality with survey data.&amp;nbsp; I have a field that I marked as a measure called "Q7".&amp;nbsp; The possible responses to this question in the survey were: yes, no, or unsure and are coded 1,2,3 respectively.&amp;nbsp; How do I get a count of the yes (1) responses and even more specifically, I want to know the % of yes responses from the total by month in a bar chart.&amp;nbsp; I have the dimension set up as month and Q7 as the measure but it gives me the TOTAL count for the month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I imagine it must be an expression that I don't know how to code.&amp;nbsp; Any assistance will be greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2014 20:30:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Survey-data/m-p/821321#M1045313</guid>
      <dc:creator />
      <dc:date>2014-11-25T20:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: Survey data</title>
      <link>https://community.qlik.com/t5/QlikView/Survey-data/m-p/821322#M1045314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Count(distinct 1) ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2014 20:36:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Survey-data/m-p/821322#M1045314</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-25T20:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: Survey data</title>
      <link>https://community.qlik.com/t5/QlikView/Survey-data/m-p/821323#M1045315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know there are 77 responses and it should return 51 yes.&amp;nbsp; When I copy and paste "Count(distinct 1) in the expression field, it returns a 1.&amp;nbsp; Ideally, I'd like it to return 66% (51/77).&amp;nbsp; So, I'm still not yet there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2014 20:42:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Survey-data/m-p/821323#M1045315</guid>
      <dc:creator />
      <dc:date>2014-11-25T20:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: Survey data</title>
      <link>https://community.qlik.com/t5/QlikView/Survey-data/m-p/821324#M1045316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interesting. . . when I use the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum (([Q7])=1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the correct value but it is shown as a negative (-51)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2014 21:08:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Survey-data/m-p/821324#M1045316</guid>
      <dc:creator />
      <dc:date>2014-11-25T21:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: Survey data</title>
      <link>https://community.qlik.com/t5/QlikView/Survey-data/m-p/821325#M1045317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So multiplying by a negative 1 gives the correct value &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum (([Q7_1])=1)*-1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but I have to believe there is a better way &amp;amp; it still does not get me to the ultimate value I'm looking for (66%)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2014 21:10:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Survey-data/m-p/821325#M1045317</guid>
      <dc:creator />
      <dc:date>2014-11-25T21:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: Survey data</title>
      <link>https://community.qlik.com/t5/QlikView/Survey-data/m-p/821326#M1045318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let's see if we can't get your 51 first. What i actually meant by [1] (and should've verbalized) is [field used to contain yes response]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count(distinct({$&amp;lt;Field = {1}&amp;gt;} [Field])&amp;nbsp; ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2014 21:13:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Survey-data/m-p/821326#M1045318</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-25T21:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: Survey data</title>
      <link>https://community.qlik.com/t5/QlikView/Survey-data/m-p/821327#M1045319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I appreciate your patience with me but unfortunately, I'm not a programmer so I don't know what may be missing as the following generates an "Error in expression" message:&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;"&gt;Count(distinct({$&amp;lt;Q7= {1}&amp;gt;} [Q7])&amp;nbsp; ?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2014 21:24:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Survey-data/m-p/821327#M1045319</guid>
      <dc:creator />
      <dc:date>2014-11-25T21:24:28Z</dc:date>
    </item>
    <item>
      <title>Re: Survey data</title>
      <link>https://community.qlik.com/t5/QlikView/Survey-data/m-p/821328#M1045320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike,&lt;/P&gt;&lt;P&gt;try it without distinct or at least write the 'distinct' after the set expression: count({&amp;lt;Q7={1}&amp;gt;} Q7)&amp;nbsp; or&amp;nbsp; count({&amp;lt;Q7={1}&amp;gt;} distinct Q7)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW I am specialised in market research and consider QlikView as a great tool to report/analyse survey data. But there are quite some things you have to consider: e.g. think about what you are actually counting...I guess you would rather like to count persons (or occasions/cases) than a value within a certain question. Especially when taking weighting factors/sub-samples into consideration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2014 23:27:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Survey-data/m-p/821328#M1045320</guid>
      <dc:creator>danieloberbilli</dc:creator>
      <dc:date>2014-11-25T23:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Survey data</title>
      <link>https://community.qlik.com/t5/QlikView/Survey-data/m-p/821329#M1045321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's because the set analysis spec should go before the DISTINCT keyword. And BTW there shouldn't be any DISTINCT keyword at all, because when you do use it, the result will be 1. Use this instead:&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;"&gt;Count({&amp;lt;Q7 = {1}&amp;gt;} [Q7])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&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;"&gt;To get a ratio, use&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&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;"&gt;=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Count({&amp;lt;Q7 = {1}&amp;gt;} [Q7]) / count([Q7])&lt;/SPAN&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;"&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;"&gt;and display as a percentage.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&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;"&gt;Best,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&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;"&gt;Peter&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2014 23:27:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Survey-data/m-p/821329#M1045321</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2014-11-25T23:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: Survey data</title>
      <link>https://community.qlik.com/t5/QlikView/Survey-data/m-p/821330#M1045322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Daniel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a simple survey filled out at an event.&amp;nbsp; So there is no weighting involved.&amp;nbsp; I used this as a test case to play with the QlikView functionality.&amp;nbsp; If it works for this purpose then I'll figure out how to work with my more sophisticated weighted surveys.&amp;nbsp; Any tips or best practices to help accelerate my learning curve?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 14:43:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Survey-data/m-p/821330#M1045322</guid>
      <dc:creator />
      <dc:date>2014-11-26T14:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: Survey data</title>
      <link>https://community.qlik.com/t5/QlikView/Survey-data/m-p/821331#M1045323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All the blogs/documents posted here by Henric Cronström are worth reading. And the books QlikView for Developers and QlikView Cookbook are really good to learn about QlikView.&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Daniel&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 22:54:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Survey-data/m-p/821331#M1045323</guid>
      <dc:creator>danieloberbilli</dc:creator>
      <dc:date>2014-11-26T22:54:54Z</dc:date>
    </item>
  </channel>
</rss>

