<?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 Custom Tooltip for Stacked Bar Charts in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Custom-Tooltip-for-Stacked-Bar-Charts/m-p/1733544#M56008</link>
    <description>&lt;P&gt;I have a stacked bar chart showing number of employees per department.&amp;nbsp; The value is Count(Employee ID) with 2 drill down dimensions on the Y-Axis:&amp;nbsp; Department name and Subdepartment name. Then, the bars are stacked by whether they completed a training (Yes or No).&lt;/P&gt;&lt;P&gt;The tooltip shows number of employees that completed the training or not completed the training. However, I want to also show the &lt;STRONG&gt;total number of employees (completed + not completed) for the entire stack&lt;/STRONG&gt; according to each Department/Subdepartment.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is similar to &lt;A href="https://community.qlik.com/t5/QlikView-App-Development/Stacked-Bar-Chart-Need-tooltip-to-show-total-stack-value/m-p/517209" target="_self"&gt;another community thread&lt;/A&gt; but the solution to show Count(TOTAL &amp;lt;Department&amp;gt; Employee ID) did not work for me so am still searching for a solution.&amp;nbsp; I am using Qlik Sense Enterprise online and cannot attach a qvf. Instead, I hope the attached image helps explain what I mean. Any ideas are welcomed.&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 01:44:03 GMT</pubDate>
    <dc:creator>melissa4</dc:creator>
    <dc:date>2024-11-16T01:44:03Z</dc:date>
    <item>
      <title>Custom Tooltip for Stacked Bar Charts</title>
      <link>https://community.qlik.com/t5/App-Development/Custom-Tooltip-for-Stacked-Bar-Charts/m-p/1733544#M56008</link>
      <description>&lt;P&gt;I have a stacked bar chart showing number of employees per department.&amp;nbsp; The value is Count(Employee ID) with 2 drill down dimensions on the Y-Axis:&amp;nbsp; Department name and Subdepartment name. Then, the bars are stacked by whether they completed a training (Yes or No).&lt;/P&gt;&lt;P&gt;The tooltip shows number of employees that completed the training or not completed the training. However, I want to also show the &lt;STRONG&gt;total number of employees (completed + not completed) for the entire stack&lt;/STRONG&gt; according to each Department/Subdepartment.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is similar to &lt;A href="https://community.qlik.com/t5/QlikView-App-Development/Stacked-Bar-Chart-Need-tooltip-to-show-total-stack-value/m-p/517209" target="_self"&gt;another community thread&lt;/A&gt; but the solution to show Count(TOTAL &amp;lt;Department&amp;gt; Employee ID) did not work for me so am still searching for a solution.&amp;nbsp; I am using Qlik Sense Enterprise online and cannot attach a qvf. Instead, I hope the attached image helps explain what I mean. Any ideas are welcomed.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:44:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Custom-Tooltip-for-Stacked-Bar-Charts/m-p/1733544#M56008</guid>
      <dc:creator>melissa4</dc:creator>
      <dc:date>2024-11-16T01:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Tooltip for Stacked Bar Charts</title>
      <link>https://community.qlik.com/t5/App-Development/Custom-Tooltip-for-Stacked-Bar-Charts/m-p/1733596#M56010</link>
      <description>&lt;P&gt;Hi Melissa,&lt;/P&gt;&lt;P&gt;your count expression seems to have a syntax error. Try to remove the curly brackets and leave it like this:&lt;/P&gt;&lt;P&gt;Count(Total &amp;lt;DEPARTMENT_CODE&amp;gt; EMPLID)&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2020 22:00:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Custom-Tooltip-for-Stacked-Bar-Charts/m-p/1733596#M56010</guid>
      <dc:creator>fosuzuki</dc:creator>
      <dc:date>2020-08-05T22:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Tooltip for Stacked Bar Charts</title>
      <link>https://community.qlik.com/t5/App-Development/Custom-Tooltip-for-Stacked-Bar-Charts/m-p/1733842#M56038</link>
      <description>&lt;P&gt;I figured out it wasn't working because the field was aliased in script editor:&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; Load&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;RESULT as 'Completion Status'&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;So, I loaded RESULT twice in script editor, once as 'Completion Status' for other purposes in my dashboard and another with no alias for the tooltip calculation. Once I excluded selections on the original RESULT field (by encasing in {&amp;lt;&amp;gt;} and setting it = to nothing) it worked and the tooltip displayed the total number of people within the stack, whether they took the training or not.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Incorrect Formula:&amp;nbsp; Count(TOTAL {&amp;lt;Aliased_Field=&amp;gt;} EMPLID)&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Correct Formula:&amp;nbsp; &amp;nbsp; &amp;nbsp;Count(TOTAL {&amp;lt;Original_Field_No_Alias=&amp;gt;} EMPLID)&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 15:43:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Custom-Tooltip-for-Stacked-Bar-Charts/m-p/1733842#M56038</guid>
      <dc:creator>melissa4</dc:creator>
      <dc:date>2020-08-06T15:43:52Z</dc:date>
    </item>
  </channel>
</rss>

