<?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: Bar Chart Multiple Dimensions with labels in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Bar-Chart-Multiple-Dimensions-with-labels/m-p/956891#M949938</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about putting your calculations into the load script ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This also is best practice as Calculated Dimensions can cause poor performance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Dec 2015 19:20:35 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-12-04T19:20:35Z</dc:date>
    <item>
      <title>Bar Chart Multiple Dimensions with labels</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-Chart-Multiple-Dimensions-with-labels/m-p/956890#M949937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have the following columns&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ZT&lt;/P&gt;&lt;P&gt;Critical&lt;/P&gt;&lt;P&gt;High&lt;/P&gt;&lt;P&gt;Medium&lt;/P&gt;&lt;P&gt;Low&lt;/P&gt;&lt;P&gt;Last Scan Date&lt;/P&gt;&lt;P&gt;Last Scan Date 1&lt;/P&gt;&lt;P&gt;(All have numerical values)&lt;/P&gt;&lt;P&gt;Application Names (Text Values)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to build a bar chart where on the x-axis should have the below calculations:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG&gt;=&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Last Scan Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;or&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Last Scan Date1]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;90,'Blocked')&lt;BR /&gt; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 8pt;"&gt;The Second bar should have&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 8pt;"&gt;if(ZT&amp;gt;0,'Blocked')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 8pt;"&gt;The Third Bar should have&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG&gt;if(High&amp;gt;0),'Blocked')&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Each bar should represent the number of applications that are blocked under each category ( The scan date, ZT, High). I am trying to use the given calculations as Dimensions and in the expression, I am using COUNT([Application Names]).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;But it messes up the whole bar chart with incorrect representations. Am I doing it right? If there is a proper way to build this bar chart, please give me steps on what to use and where to use.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2015 18:49:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-Chart-Multiple-Dimensions-with-labels/m-p/956890#M949937</guid>
      <dc:creator />
      <dc:date>2015-12-04T18:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Chart Multiple Dimensions with labels</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-Chart-Multiple-Dimensions-with-labels/m-p/956891#M949938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about putting your calculations into the load script ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This also is best practice as Calculated Dimensions can cause poor performance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2015 19:20:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-Chart-Multiple-Dimensions-with-labels/m-p/956891#M949938</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-04T19:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Chart Multiple Dimensions with labels</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-Chart-Multiple-Dimensions-with-labels/m-p/956892#M949939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I could. But that would be using the same expressions in the Script as I am using in creating the Dimensions now.&amp;nbsp; I am afraid that would replicate the same issue here. The problem is, when I create the dimensions with these calculations, I am able to see the bars but I am not able to see the legend labels of each bar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Example, if I create a bar with the following dimension &lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG&gt;=&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Last Scan Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;or&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Last Scan Date1]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;90,'Blocked')&lt;/SPAN&gt;&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;I am able to see the legend label below the bar. But as soon as I create the 2nd Dimension, I don't see the label below the 2nd bar. Even if it appears, it is incorrect and misplaced.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2015 19:48:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-Chart-Multiple-Dimensions-with-labels/m-p/956892#M949939</guid>
      <dc:creator />
      <dc:date>2015-12-04T19:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Chart Multiple Dimensions with labels</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-Chart-Multiple-Dimensions-with-labels/m-p/956893#M949940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Fields that I have available are&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Application Name.&lt;/P&gt;&lt;P&gt;Scan Date&lt;/P&gt;&lt;P&gt;High&lt;/P&gt;&lt;P&gt;Critical&lt;/P&gt;&lt;P&gt;High Vulnerabilities&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need a bar chart where there will be 4 bars representing each of the below conditions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. &lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(Today()-[Scan Date]&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;90,'Blocked') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;2. i&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;f&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;([&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;High]&amp;gt;0&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;,'Blocked') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;3.&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;[Crit]&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;&amp;gt;0,'Critical') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 10pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;4. i&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;f&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;[High Vulnerabilities]&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;&amp;gt;0,'High Severity Vulnerabilities') &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 10pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 10pt;"&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;I am using the above expressions as Dimensions and in the Expressions, I am doing&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 10pt;"&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Application Name]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 10pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 10pt;"&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;But I am not able to see 4 bars in the chart.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Dec 2015 16:57:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-Chart-Multiple-Dimensions-with-labels/m-p/956893#M949940</guid>
      <dc:creator />
      <dc:date>2015-12-07T16:57:46Z</dc:date>
    </item>
  </channel>
</rss>

