<?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: How to display % survey data on a bar chart? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-display-survey-data-on-a-bar-chart/m-p/1232233#M867323</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share a sample? I am not sure I understand what your requirement is?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Dec 2016 15:25:02 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-12-09T15:25:02Z</dc:date>
    <item>
      <title>How to display % survey data on a bar chart?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-survey-data-on-a-bar-chart/m-p/1232227#M867317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm new to Qlikview, I'm currently try to display survey data on the dashboard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example - for Q1. 364 respondents answered &amp;amp; 322 out of the 364 responded positively.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to simply display this as a bar chart, per region - however it doesn't display the right percentages on simple formulas, when using more complex formulas, I get an error in expression message.&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/confused.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate the help in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-survey-data-on-a-bar-chart/m-p/1232227#M867317</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to display % survey data on a bar chart?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-survey-data-on-a-bar-chart/m-p/1232228#M867318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the expression you are using today?? What all dimensions are using except Region?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2016 17:32:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-survey-data-on-a-bar-chart/m-p/1232228#M867318</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-08T17:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to display % survey data on a bar chart?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-survey-data-on-a-bar-chart/m-p/1232229#M867319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All responses in the survey that = agree, or strongly agree I have converted to 1. All responses that = disagree, or strongly disagree I have converted to 0. Then responses are broken down by 4 different regions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried the following for a question; is the position challenging&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum([Position Is Challenging])/sum(TOTAL&amp;lt;Position Is Challenging&amp;gt;)&lt;/P&gt;&lt;P&gt;Sum([Position Is Challenging])/Sum({1 &amp;lt;[Position Is Challenging]={1}&amp;gt;)&lt;/P&gt;&lt;P&gt;Count({&amp;lt;[Position Is Challenging] = {"=Not IsNull(Position is Challenging)"}&amp;gt;}[Position Is Challenging])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm new to Qlikview so could be completely wrong!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2016 09:05:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-survey-data-on-a-bar-chart/m-p/1232229#M867319</guid>
      <dc:creator />
      <dc:date>2016-12-09T09:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to display % survey data on a bar chart?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-survey-data-on-a-bar-chart/m-p/1232230#M867320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum([&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Position Is Challenging])/Count(&lt;SPAN style="font-size: 13.3333px;"&gt;[&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Position Is Challenging])&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where Sum will add you only the 1's (agree and &lt;SPAN style="font-size: 13.3333px;"&gt;strongly agree&lt;/SPAN&gt;) and Count will Count all regardless of if it's 1 or 0. This will give you the percentage in each region of people who agree or strongly agree.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2016 11:53:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-survey-data-on-a-bar-chart/m-p/1232230#M867320</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-09T11:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to display % survey data on a bar chart?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-survey-data-on-a-bar-chart/m-p/1232231#M867321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And another one Nat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This: &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;{"=Not IsNull(Position is Challenging)"}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;should be: &lt;SPAN style="font-size: 13.3333px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;{=$(=Not(IsNull([Position is Challenging]))} (&lt;STRONG&gt;N.B.&lt;/STRONG&gt; I am assuming this is an expression/functions, not an existing 'string' in the field "Position is Challenging").&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When using a formula in set analysis modifier, you want to use "dollar-sign expansion" (search this term for more info), such as $(= put in Full Formula). The single or double quotes are when you type in a varchar string in the set analysis modifier or when the result of your expression is a varchar string (or for greater than/less than - please check other posts for this one some other time). No need to use the double quotes when result of modifier or explicitly named modifier is a number. Lastly, whenever your field name contains a space (or tablename in script, except when this one is used between single quotes, as in case of "PEEK('Field Name', 1, 'Table Name')"), you always must encapsulate with square brackets as Sunny has pointed out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another way for "not(isnull())" is &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Count({$&amp;lt;[Position Is Challenging] = {'*'}&amp;gt;} [Position Is Challenging])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2016 12:09:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-survey-data-on-a-bar-chart/m-p/1232231#M867321</guid>
      <dc:creator>cheenu_janakira</dc:creator>
      <dc:date>2016-12-09T12:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to display % survey data on a bar chart?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-survey-data-on-a-bar-chart/m-p/1232232#M867322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried that and then it puts all 4 regions as 25% - but that's not the right answer...any other suggestions??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2016 13:25:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-survey-data-on-a-bar-chart/m-p/1232232#M867322</guid>
      <dc:creator />
      <dc:date>2016-12-09T13:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to display % survey data on a bar chart?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-survey-data-on-a-bar-chart/m-p/1232233#M867323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share a sample? I am not sure I understand what your requirement is?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2016 15:25:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-survey-data-on-a-bar-chart/m-p/1232233#M867323</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-09T15:25:02Z</dc:date>
    </item>
  </channel>
</rss>

