<?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: Butterfly chart in QlikView [data values query] in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Butterfly-chart-in-QlikView-data-values-query/m-p/1327774#M835174</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's because the number format is inconsistent with the 1000s separator. if you use "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;# ##0; # ##0" as a format, make sure that &amp;lt;space&amp;gt; is the 1000s separator. Or use ',' as the 1000s separator, and "#,##0;#,##0" as the format.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 May 2017 04:56:47 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2017-05-25T04:56:47Z</dc:date>
    <item>
      <title>Butterfly chart in QlikView [data values query]</title>
      <link>https://community.qlik.com/t5/QlikView/Butterfly-chart-in-QlikView-data-values-query/m-p/1327770#M835170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: inherit; color: #3d3d3d;"&gt;Hello everyone,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white; font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: inherit; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white; font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: inherit; color: #3d3d3d;"&gt;I came across a video of developing a butterfly chart on qlikview and found it really interesting (link: &lt;A href="https://veblr.com/watch/361f90967d31/how-to-create-tornado-or-butterfly-chart-in-qlikview?lang=en" target="_blank"&gt;&lt;SPAN style="color: #3778c7;"&gt;https://veblr.com/watch/361f90967d31/how-to-create-tornado-or-butterfly-chart-in-qlikview?lang=en&lt;/SPAN&gt;&lt;/A&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white; font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: inherit; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white; font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: inherit; color: #3d3d3d;"&gt;If you notice, the trick is to multiply the previous year's values with -1 to get them on the left side of the axis.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white; font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: inherit; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white; font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: inherit; color: #3d3d3d;"&gt;I could make the chart but now the issue is that the data values in tool-tip are showing as negative (see attached photo). Does anyone know of a possible way to make the actual &amp;amp; correct data values show on the tool-tip?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white; font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: inherit; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white; font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: inherit; color: #3d3d3d;"&gt;I am new to QV so any help would be much appreciated &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white; font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: inherit; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white; font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: inherit; color: #3d3d3d;"&gt;-Shivi&lt;/SPAN&gt;&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/Butterfly-chart-in-QlikView-data-values-query/m-p/1327770#M835170</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Butterfly chart in QlikView [data values query]</title>
      <link>https://community.qlik.com/t5/QlikView/Butterfly-chart-in-QlikView-data-values-query/m-p/1327771#M835171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried using the DUAL() function?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;SPAN class="Bold"&gt;dual( &lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;s , x&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt; )&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;Forced association of an arbitrary string representation &lt;SPAN class="Italic"&gt;s&lt;/SPAN&gt; with a given number representation &lt;SPAN class="Italic"&gt;x&lt;/SPAN&gt;. In QlikView, when several data items read into one field have different string representations but the same valid number representation, they will all share the first string representation encountered. This function can be used in scripts and chart expressions.&lt;/P&gt;&lt;P&gt;In scripting, the dual function is typically used early in the script, before other data is read into the field concerned, in order to create that first string representation, which will be shown in list boxes etc. &lt;/P&gt;&lt;P class="note"&gt;&lt;SPAN class="Bold"&gt;Note!&lt;/SPAN&gt; &lt;BR /&gt;If a dual value is too large to fit in a field object, it will be represented by ## and not truncated with ... like a string.&lt;/P&gt;&lt;P class="example"&gt;Example (scripting):&lt;/P&gt;&lt;P class="Code"&gt;load dual ( string,numrep ) as DayOfWeek inline &lt;/P&gt;&lt;P class="Code"&gt;[ string,numrep &lt;/P&gt;&lt;P class="Code"&gt;Monday,0 &lt;/P&gt;&lt;P class="Code"&gt;Tuesday,1 &lt;/P&gt;&lt;P class="Code"&gt;Wednesday,2 &lt;/P&gt;&lt;P class="Code"&gt;Thursday,3 &lt;/P&gt;&lt;P class="Code"&gt;Friday,4 &lt;/P&gt;&lt;P class="Code"&gt;Saturday,5 &lt;/P&gt;&lt;P class="Code"&gt;Sunday,6 ]; &lt;/P&gt;&lt;P class="Code"&gt;load Date, weekday(Date) as DayOfWeek from afile.csv; &lt;/P&gt;&lt;P&gt;The script example will generate a field &lt;SPAN class="Italic"&gt;DayOfWeek&lt;/SPAN&gt; with the weekdays written in clear text. QlikView will for all purposes regard the field as a numeric field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2017 19:40:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Butterfly-chart-in-QlikView-data-values-query/m-p/1327771#M835171</guid>
      <dc:creator>oscar_ortiz</dc:creator>
      <dc:date>2017-05-24T19:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: Butterfly chart in QlikView [data values query]</title>
      <link>https://community.qlik.com/t5/QlikView/Butterfly-chart-in-QlikView-data-values-query/m-p/1327772#M835172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are more samples here in the forum that shows how to create a butterfly chart, just search for butterfly chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the most easy way to change the tooltip is to change the number format on number tab for the negative values (which you can define without a minus sign) like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# ##0; # ##0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2017 19:48:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Butterfly-chart-in-QlikView-data-values-query/m-p/1327772#M835172</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-05-24T19:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: Butterfly chart in QlikView [data values query]</title>
      <link>https://community.qlik.com/t5/QlikView/Butterfly-chart-in-QlikView-data-values-query/m-p/1327773#M835173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when I tried this, the minus sign is going but I am getting ## 0. I just changed the number format to fixed to with 1 decimal and format matter to "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;# ##0; # ##0&lt;/SPAN&gt;". Am I doing something wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 May 2017 04:00:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Butterfly-chart-in-QlikView-data-values-query/m-p/1327773#M835173</guid>
      <dc:creator />
      <dc:date>2017-05-25T04:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: Butterfly chart in QlikView [data values query]</title>
      <link>https://community.qlik.com/t5/QlikView/Butterfly-chart-in-QlikView-data-values-query/m-p/1327774#M835174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's because the number format is inconsistent with the 1000s separator. if you use "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;# ##0; # ##0" as a format, make sure that &amp;lt;space&amp;gt; is the 1000s separator. Or use ',' as the 1000s separator, and "#,##0;#,##0" as the format.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 May 2017 04:56:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Butterfly-chart-in-QlikView-data-values-query/m-p/1327774#M835174</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2017-05-25T04:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: Butterfly chart in QlikView [data values query]</title>
      <link>https://community.qlik.com/t5/QlikView/Butterfly-chart-in-QlikView-data-values-query/m-p/1327775#M835175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome, done ! Thank you soo much &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 May 2017 15:44:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Butterfly-chart-in-QlikView-data-values-query/m-p/1327775#M835175</guid>
      <dc:creator />
      <dc:date>2017-05-25T15:44:43Z</dc:date>
    </item>
  </channel>
</rss>

