<?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: Showing percentage of items with / without a value in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Showing-percentage-of-items-with-without-a-value/m-p/1782809#M60946</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/56648"&gt;@Taoufiq_Zarra&lt;/a&gt;&amp;nbsp;Thank you so much. That is fantastic and works perfectly. I'm new to Qlik so I'm just digesting your response to understand it fully &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 15 Feb 2021 16:24:20 GMT</pubDate>
    <dc:creator>slong</dc:creator>
    <dc:date>2021-02-15T16:24:20Z</dc:date>
    <item>
      <title>Showing percentage of items with / without a value</title>
      <link>https://community.qlik.com/t5/App-Development/Showing-percentage-of-items-with-without-a-value/m-p/1782699#M60935</link>
      <description>&lt;P&gt;So I've extracted a relevant set of Jira data using the Jira connector. In a simplified form the data I am interested in looks like this.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jiraData.png" style="width: 406px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/49061iA7F03D433713DB38/image-dimensions/406x217?v=v2" width="406" height="217" role="button" title="jiraData.png" alt="jiraData.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;What I want to end up with is a bar chart where I can see the percentage of items of type &lt;EM&gt;Story&lt;/EM&gt; with and without a value in the column &lt;STRONG&gt;field_custom_field_10024.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;So I would like to see something like this in the end but I'm unsure how to get it looking exactly like this from the data I have.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="percentage_breakdown_stories.png" style="width: 390px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/49064i7987191A210F8898/image-dimensions/390x289?v=v2" width="390" height="289" role="button" title="percentage_breakdown_stories.png" alt="percentage_breakdown_stories.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Many thanks in&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:36:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Showing-percentage-of-items-with-without-a-value/m-p/1782699#M60935</guid>
      <dc:creator>slong</dc:creator>
      <dc:date>2024-11-16T00:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: Showing percentage of items with / without a value</title>
      <link>https://community.qlik.com/t5/App-Development/Showing-percentage-of-items-with-without-a-value/m-p/1782768#M60939</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/135249"&gt;@slong&lt;/a&gt;&amp;nbsp; for exemple from your data :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Taoufiq_Zarra_0-1613397880763.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/49085iA4F9867DCB2D0B28/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Taoufiq_Zarra_0-1613397880763.png" alt="Taoufiq_Zarra_0-1613397880763.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I can use :&lt;/P&gt;&lt;P&gt;Dimension :&lt;/P&gt;&lt;LI-CODE lang="python"&gt;=Valuelist('Stories with a value','Stories without a value')&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Measure:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;PICK(MATCH(VALUELIST('Stories with a value','Stories without a value'),'Stories with a value','Stories without a value'),
count({&amp;lt;field_issue_type_name={'Story'},field_customfield_10024={"=len(trim(field_customfield_10024))&amp;gt;0"}&amp;gt;} field_issue_type_name)/(count({&amp;lt;field_issue_type_name={'Story'},field_customfield_10024={"=len(trim(field_customfield_10024))&amp;gt;0"}&amp;gt;} field_issue_type_name)+count({&amp;lt;field_issue_type_name={'Story'},field_customfield_10024={"=len(trim(field_customfield_10024))=0"}&amp;gt;} field_issue_type_name)),
count({&amp;lt;field_issue_type_name={'Story'},field_customfield_10024={"=len(trim(field_customfield_10024))=0"}&amp;gt;} field_issue_type_name)/(count({&amp;lt;field_issue_type_name={'Story'},field_customfield_10024={"=len(trim(field_customfield_10024))&amp;gt;0"}&amp;gt;} field_issue_type_name)+count({&amp;lt;field_issue_type_name={'Story'},field_customfield_10024={"=len(trim(field_customfield_10024))=0"}&amp;gt;} field_issue_type_name)))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you can add after color and number format to %&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the output from this is :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Taoufiq_Zarra_1-1613397963619.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/49086i7EDBB50410E1BD9A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Taoufiq_Zarra_1-1613397963619.png" alt="Taoufiq_Zarra_1-1613397963619.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2021 14:06:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Showing-percentage-of-items-with-without-a-value/m-p/1782768#M60939</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2021-02-15T14:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: Showing percentage of items with / without a value</title>
      <link>https://community.qlik.com/t5/App-Development/Showing-percentage-of-items-with-without-a-value/m-p/1782809#M60946</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/56648"&gt;@Taoufiq_Zarra&lt;/a&gt;&amp;nbsp;Thank you so much. That is fantastic and works perfectly. I'm new to Qlik so I'm just digesting your response to understand it fully &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2021 16:24:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Showing-percentage-of-items-with-without-a-value/m-p/1782809#M60946</guid>
      <dc:creator>slong</dc:creator>
      <dc:date>2021-02-15T16:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: Showing percentage of items with / without a value</title>
      <link>https://community.qlik.com/t5/App-Development/Showing-percentage-of-items-with-without-a-value/m-p/1782815#M60947</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/56648"&gt;@Taoufiq_Zarra&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is your solution working for me. What's the easiest way to get it displaying in percentages ?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="percentage_complete.png" style="width: 194px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/49092iFA3067B00EAB269E/image-dimensions/194x156?v=v2" width="194" height="156" role="button" title="percentage_complete.png" alt="percentage_complete.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2021 16:58:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Showing-percentage-of-items-with-without-a-value/m-p/1782815#M60947</guid>
      <dc:creator>slong</dc:creator>
      <dc:date>2021-02-15T16:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: Showing percentage of items with / without a value</title>
      <link>https://community.qlik.com/t5/App-Development/Showing-percentage-of-items-with-without-a-value/m-p/1782841#M60951</link>
      <description>&lt;P&gt;I know you've already got an answer, but you might be able to get away with less set analysis by doing some data model work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Simply make a flag somewhere in your data load.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;LOAD *,
If( Len(Trim(field_customfield_10024)) &amp;gt; 0, 'Y', 'N' ) AS 'Has Story Value',
...
;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think using such a flag will make your set analysis easier and more readable when you are asked to make a change 6 months from now.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2021 19:02:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Showing-percentage-of-items-with-without-a-value/m-p/1782841#M60951</guid>
      <dc:creator>JustinDallas</dc:creator>
      <dc:date>2021-02-15T19:02:17Z</dc:date>
    </item>
    <item>
      <title>Re: Showing percentage of items with / without a value</title>
      <link>https://community.qlik.com/t5/App-Development/Showing-percentage-of-items-with-without-a-value/m-p/1782852#M60954</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In the script first try to create flag, by adding below script line&lt;/P&gt;&lt;P&gt;if(len(field_custom_10024)=0,'Y','N') as flag&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;now in the bar chart give the value list&amp;nbsp; which will create synthetic dimension&lt;/P&gt;&lt;P&gt;dim:&lt;/P&gt;&lt;P&gt;=ValueList('Story with value', 'Story without value')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;exp:&lt;/P&gt;&lt;P&gt;=if(ValueList('Story with value', 'Story without value')='Story with value',&lt;BR /&gt;(Count({&amp;lt;flag={'N'}&amp;gt;}flag)/count(TOTAL(flag))),&lt;BR /&gt;(Count({&amp;lt;flag={'Y'}&amp;gt;}flag)/count(TOTAL(flag))))*100 &amp;amp; '%'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;total is the function to calculate the percentage which will disregard the dimension .&lt;/P&gt;&lt;P&gt;What's the easiest way to get it displaying in percentages ?&lt;/P&gt;&lt;P&gt;to get percentage in chart multiple by 100 and concatenate with %&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="manoranjan_d_0-1613419125837.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/49098i3AFDE15633B6B709/image-size/medium?v=v2&amp;amp;px=400" role="button" title="manoranjan_d_0-1613419125837.png" alt="manoranjan_d_0-1613419125837.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2021 20:00:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Showing-percentage-of-items-with-without-a-value/m-p/1782852#M60954</guid>
      <dc:creator>manoranjan_d</dc:creator>
      <dc:date>2021-02-15T20:00:33Z</dc:date>
    </item>
  </channel>
</rss>

