<?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: Add up/down arrows to bar chart in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Add-up-down-arrows-to-bar-chart/m-p/1655289#M48971</link>
    <description>&lt;P&gt;Hi Fabien,&lt;/P&gt;&lt;P&gt;As far as I'm aware we don't have that level of control over the formatting of the combo or bar charts in Qlik Sense at this stage unfortunately. There might be an extension that allows you to achieve what you are after, or something similar. In a bar chart you could conceivably colour the bars according to whether the measure goes up or down but it's not a logic I've tried. In a combo chart you might be able to use separate measures for "up" and "down" to give you the appropriate symbols, but again it isn't something I've tried.&lt;/P&gt;</description>
    <pubDate>Mon, 09 Dec 2019 03:45:22 GMT</pubDate>
    <dc:creator>Rodj</dc:creator>
    <dc:date>2019-12-09T03:45:22Z</dc:date>
    <item>
      <title>Add up/down arrows to bar chart</title>
      <link>https://community.qlik.com/t5/App-Development/Add-up-down-arrows-to-bar-chart/m-p/1655280#M48970</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have pretty simple bar chart, to which i would like to add trend arrows up/down versus the previous week.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot - 9_12_2019 , 12_10_15 PM.png" style="width: 469px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/25135i4DABB10E139DA428/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot - 9_12_2019 , 12_10_15 PM.png" alt="Screenshot - 9_12_2019 , 12_10_15 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have a few 'Alternative dimensions' within this chart.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have found a &lt;A href="https://community.qlik.com/t5/QlikView-Documents/Using-Arrows-in-Bar-Chart/ta-p/1497147" target="_blank" rel="noopener"&gt;tutorial&lt;/A&gt; however i didn't manage to replicate the same logic (mainly because i am using QlikSense not QlikView).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is my current Measure:&lt;/P&gt;&lt;P&gt;=if((GetFieldSelections([Quote Type])='DQ' OR GetSelectedCount([Quote Type])=0),&lt;/P&gt;&lt;P&gt;If(GetSelectedCount([Week Num])=0,&lt;BR /&gt;Sum({$&amp;lt;[Quote Type]={"DQ"}, [Week Num]={"$(=week(today())-1)"}&amp;gt;} TEU)/Sum({$&amp;lt;[Week Num]={"$(=week(today())-1)"}&amp;gt;} TEU)&lt;BR /&gt;,&lt;BR /&gt;Sum({$&amp;lt;[Quote Type]={"DQ"}&amp;gt;} TEU)/sum(TEU)),&lt;/P&gt;&lt;P&gt;'N/A')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate any help.&lt;/P&gt;&lt;P&gt;Fabien&lt;/P&gt;</description>
      <pubDate>Wed, 22 Dec 2021 15:54:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Add-up-down-arrows-to-bar-chart/m-p/1655280#M48970</guid>
      <dc:creator>Fabien</dc:creator>
      <dc:date>2021-12-22T15:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: Add up/down arrows to bar chart</title>
      <link>https://community.qlik.com/t5/App-Development/Add-up-down-arrows-to-bar-chart/m-p/1655289#M48971</link>
      <description>&lt;P&gt;Hi Fabien,&lt;/P&gt;&lt;P&gt;As far as I'm aware we don't have that level of control over the formatting of the combo or bar charts in Qlik Sense at this stage unfortunately. There might be an extension that allows you to achieve what you are after, or something similar. In a bar chart you could conceivably colour the bars according to whether the measure goes up or down but it's not a logic I've tried. In a combo chart you might be able to use separate measures for "up" and "down" to give you the appropriate symbols, but again it isn't something I've tried.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2019 03:45:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Add-up-down-arrows-to-bar-chart/m-p/1655289#M48971</guid>
      <dc:creator>Rodj</dc:creator>
      <dc:date>2019-12-09T03:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: Add up/down arrows to bar chart</title>
      <link>https://community.qlik.com/t5/App-Development/Add-up-down-arrows-to-bar-chart/m-p/1655296#M48975</link>
      <description>&lt;P&gt;Thanks for your response Rodj.&lt;/P&gt;&lt;P&gt;I managed to add the arrows by adding a second 'Measure' with the following expression, which leads me to think that somehow it might be possible...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=if((Sum({$&amp;lt;[Week Num]={'$(=Max([Week Num])-1)'},[Quote Type]={'DQ'}&amp;gt;} TEU)/Sum({$&amp;lt;[Week Num]={'$(=Max([Week Num])-1)'}&amp;gt;} TEU))&lt;BR /&gt;-(Sum({$&amp;lt;[Week Num]={'$(=Max([Week Num])-2)'},[Quote Type]={'DQ'}&amp;gt;} TEU)/Sum({$&amp;lt;[Week Num]={'$(=Max([Week Num])-2)'}&amp;gt;} TEU))&lt;BR /&gt;&amp;gt;0&lt;BR /&gt;,'▲','▼')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Giving me the following result which seems to be correct, however how do i now move these icons next to the first measure %?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot - 9_12_2019 , 4_15_22 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/25137iB1BE27093F10CD38/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot - 9_12_2019 , 4_15_22 PM.png" alt="Screenshot - 9_12_2019 , 4_15_22 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2019 05:27:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Add-up-down-arrows-to-bar-chart/m-p/1655296#M48975</guid>
      <dc:creator>Fabien</dc:creator>
      <dc:date>2019-12-09T05:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: Add up/down arrows to bar chart</title>
      <link>https://community.qlik.com/t5/App-Development/Add-up-down-arrows-to-bar-chart/m-p/1655304#M48977</link>
      <description>&lt;P&gt;I am able to get this:&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MC.PNG" style="width: 828px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/25142iE62D195FEAECA1F4/image-size/large?v=v2&amp;amp;px=999" role="button" title="MC.PNG" alt="MC.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Instead of adding as expression, add the arrows as dimension:&lt;/P&gt;&lt;P&gt;Arrow Dimension:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if(aggr((Sum({$&amp;lt;[Week Num]={'$(=Max([Week Num])-1)'},[Quote Type]={'DQ'}&amp;gt;} TEU)/Sum({$&amp;lt;[Week Num]={'$(=Max([Week Num])-1)'}&amp;gt;} TEU))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-(Sum({$&amp;lt;[Week Num]={'$(=Max([Week Num])-2)'},[Quote Type]={'DQ'}&amp;gt;} TEU)/Sum({$&amp;lt;[Week Num]={'$(=Max([Week Num])-2)'}&amp;gt;} TEU)),&lt;STRONG&gt;&lt;EM&gt;&amp;lt;Dim1&amp;gt;&lt;/EM&gt;&lt;/STRONG&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;,'▲','▼')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;At Appearance&amp;gt;Colors and legends&amp;gt;Show legend&amp;gt;Off.&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, 09 Dec 2019 06:04:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Add-up-down-arrows-to-bar-chart/m-p/1655304#M48977</guid>
      <dc:creator>Arthur_Fong</dc:creator>
      <dc:date>2019-12-09T06:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: Add up/down arrows to bar chart</title>
      <link>https://community.qlik.com/t5/App-Development/Add-up-down-arrows-to-bar-chart/m-p/1655306#M48978</link>
      <description>&lt;P&gt;Yeah it's getting the symbols at the end that is the trick. Having a value calculated in a combo chart will put it in the right place but I don't know if there's a way to control the symbol in that instance. Seems like you are close and there should be a way to do it. Putting the symbol in the dimension is a cool idea.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2019 06:10:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Add-up-down-arrows-to-bar-chart/m-p/1655306#M48978</guid>
      <dc:creator>Rodj</dc:creator>
      <dc:date>2019-12-09T06:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: Add up/down arrows to bar chart</title>
      <link>https://community.qlik.com/t5/App-Development/Add-up-down-arrows-to-bar-chart/m-p/1655311#M48979</link>
      <description>&lt;P&gt;Shifting your dimension to the right might looks better:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MC.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/25144i89B59BD3B6C2E387/image-size/large?v=v2&amp;amp;px=999" role="button" title="MC.PNG" alt="MC.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;At Appearance &amp;gt; Colors and legend &amp;gt;Y-axis &amp;gt; Position &amp;gt;Right.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2019 06:24:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Add-up-down-arrows-to-bar-chart/m-p/1655311#M48979</guid>
      <dc:creator>Arthur_Fong</dc:creator>
      <dc:date>2019-12-09T06:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: Add up/down arrows to bar chart</title>
      <link>https://community.qlik.com/t5/App-Development/Add-up-down-arrows-to-bar-chart/m-p/1655754#M49028</link>
      <description>&lt;P&gt;Thank you all for your responses, it's getting there but unfortunately it's not looking the way i wished it did...&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2019 05:57:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Add-up-down-arrows-to-bar-chart/m-p/1655754#M49028</guid>
      <dc:creator>Fabien</dc:creator>
      <dc:date>2019-12-10T05:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: Add up/down arrows to bar chart</title>
      <link>https://community.qlik.com/t5/App-Development/Add-up-down-arrows-to-bar-chart/m-p/1655769#M49030</link>
      <description>&lt;P&gt;Maybe try this:&lt;/P&gt;&lt;P&gt;Remove the arrow dimension and try with number formatting:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MC.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/25220i505FC94C01DF7A5E/image-size/large?v=v2&amp;amp;px=999" role="button" title="MC.PNG" alt="MC.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;At measurement:&lt;/P&gt;&lt;P&gt;if((Sum({$&amp;lt;[Week Num]={'$(=Max([Week Num])-1)'},[Quote Type]={'DQ'}&amp;gt;} TEU)/Sum({$&amp;lt;[Week Num]={'$(=Max([Week Num])-1)'}&amp;gt;} TEU))&lt;BR /&gt;-(Sum({$&amp;lt;[Week Num]={'$(=Max([Week Num])-2)'},[Quote Type]={'DQ'}&amp;gt;} TEU)/Sum({$&amp;lt;[Week Num]={'$(=Max([Week Num])-2)'}&amp;gt;} TEU))&lt;BR /&gt;&amp;gt;0,&lt;/P&gt;&lt;P&gt;num((Sum({$&amp;lt;[Week Num]={'$(=Max([Week Num])-1)'},[Quote Type]={'DQ'}&amp;gt;} TEU)/Sum({$&amp;lt;[Week Num]={'$(=Max([Week Num])-1)'}&amp;gt;} TEU))&lt;BR /&gt;-(Sum({$&amp;lt;[Week Num]={'$(=Max([Week Num])-2)'},[Quote Type]={'DQ'}&amp;gt;} TEU)/Sum({$&amp;lt;[Week Num]={'$(=Max([Week Num])-2)'}&amp;gt;} TEU))&lt;BR /&gt;,'##% ▲'),&lt;BR /&gt;num((Sum({$&amp;lt;[Week Num]={'$(=Max([Week Num])-1)'},[Quote Type]={'DQ'}&amp;gt;} TEU)/Sum({$&amp;lt;[Week Num]={'$(=Max([Week Num])-1)'}&amp;gt;} TEU))&lt;BR /&gt;-(Sum({$&amp;lt;[Week Num]={'$(=Max([Week Num])-2)'},[Quote Type]={'DQ'}&amp;gt;} TEU)/Sum({$&amp;lt;[Week Num]={'$(=Max([Week Num])-2)'}&amp;gt;} TEU)),'##% ▼'))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At Number Formatting &amp;gt; Select Measure Expression&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Arthur Fong&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2019 06:20:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Add-up-down-arrows-to-bar-chart/m-p/1655769#M49030</guid>
      <dc:creator>Arthur_Fong</dc:creator>
      <dc:date>2019-12-10T06:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: Add up/down arrows to bar chart</title>
      <link>https://community.qlik.com/t5/App-Development/Add-up-down-arrows-to-bar-chart/m-p/1656339#M49081</link>
      <description>&lt;P&gt;Thanks for that Arthur, thanks everyone, I think it's the closest we're gonna get. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2019 03:34:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Add-up-down-arrows-to-bar-chart/m-p/1656339#M49081</guid>
      <dc:creator>Fabien</dc:creator>
      <dc:date>2019-12-11T03:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: Add up/down arrows to bar chart</title>
      <link>https://community.qlik.com/t5/App-Development/Add-up-down-arrows-to-bar-chart/m-p/1658764#M49367</link>
      <description>&lt;P&gt;I had to further play around with Arthur's code, but I'm finally happy with the outcome.&lt;/P&gt;&lt;P&gt;Here is the final code and look for those that might help:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if((Sum({$&amp;lt;[Quote Type]={"DQ"}, [Week Num]={"$(=week(today())-1)"}&amp;gt;} TEU))/(Sum({$&amp;lt;[Week Num]={"$(=week(today())-1)"}&amp;gt;} TEU)*100)&lt;BR /&gt;-((Sum({$&amp;lt;[Quote Type]={"DQ"}, [Week Num]={"$(=week(today())-2)"}&amp;gt;} TEU))/(Sum({$&amp;lt;[Week Num]={"$(=week(today())-2)"}&amp;gt;} TEU)*100))&lt;/P&gt;&lt;P&gt;&amp;gt;0,&lt;/P&gt;&lt;P&gt;(Num(round(Sum({$&amp;lt;[Quote Type]={"DQ"}, [Week Num]={"$(=week(today())-1)"}&amp;gt;} TEU)/Sum({$&amp;lt;[Week Num]={"$(=week(today())-1)"}&amp;gt;} TEU)*100),'###% ▲')),&lt;BR /&gt;(Num(Round(Sum({$&amp;lt;[Quote Type]={"DQ"}, [Week Num]={"$(=week(today())-1)"}&amp;gt;} TEU)/Sum({$&amp;lt;[Week Num]={"$(=week(today())-1)"}&amp;gt;} TEU)*100),'###% ▼'))),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is how it looks: &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot - 18_12_2019 , 11_43_25 AM.png" style="width: 457px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/25700i012953050BBCF930/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot - 18_12_2019 , 11_43_25 AM.png" alt="Screenshot - 18_12_2019 , 11_43_25 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 00:49:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Add-up-down-arrows-to-bar-chart/m-p/1658764#M49367</guid>
      <dc:creator>Fabien</dc:creator>
      <dc:date>2019-12-18T00:49:43Z</dc:date>
    </item>
  </channel>
</rss>

