<?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: Sort a Bar Chart Based on One Value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sort-a-Bar-Chart-Based-on-One-Value/m-p/1724540#M451973</link>
    <description>&lt;P&gt;I got the answer here: &lt;A href="https://community.qlik.com/t5/QlikView-App-Development/Sort-Dimension-1-of-Multiple-Bar-Chart/m-p/1724363" target="_self"&gt;https://community.qlik.com/t5/QlikView-App-Development/Sort-Dimension-1-of-Multiple-Bar-Chart/m-p/1724363&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thank you to everyone who helped.&lt;/P&gt;</description>
    <pubDate>Thu, 02 Jul 2020 14:45:07 GMT</pubDate>
    <dc:creator>lain_</dc:creator>
    <dc:date>2020-07-02T14:45:07Z</dc:date>
    <item>
      <title>Sort a Bar Chart Based on One Value</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-a-Bar-Chart-Based-on-One-Value/m-p/1721927#M451870</link>
      <description>&lt;P&gt;I have a pivot table like the one below.&amp;nbsp;I am&amp;nbsp;graphing this as a bar chart where N, Y are the x-axis, % is the y-axis and each A% and B% pair are the bars. Is there a way to sort this on the x-axis based on the A% value. For instance, here YA% is 0 whereas NA% is 3. YA% would be to the left of NA% on the x-axis on the bar chart. The NB% and YB% values do not matter in this sort.&lt;/P&gt;&lt;TABLE border="1" width="56.25%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="20%"&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD width="20%"&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD width="20%"&gt;%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="20%"&gt;N&lt;/TD&gt;&lt;TD width="20%"&gt;A&lt;/TD&gt;&lt;TD width="20%"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="20%"&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD width="20%"&gt;B&lt;/TD&gt;&lt;TD width="20%"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="20%"&gt;Y&lt;/TD&gt;&lt;TD width="20%"&gt;A&lt;/TD&gt;&lt;TD width="20%"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="20%"&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD width="20%"&gt;B&lt;/TD&gt;&lt;TD width="20%"&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Wed, 24 Jun 2020 22:23:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-a-Bar-Chart-Based-on-One-Value/m-p/1721927#M451870</guid>
      <dc:creator>lain_</dc:creator>
      <dc:date>2020-06-24T22:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: Sort a Bar Chart Based on One Value</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-a-Bar-Chart-Based-on-One-Value/m-p/1722653#M451896</link>
      <description>&lt;P&gt;Sorting a pivot table or bar chart can be done under the sort tab. You can sort it by the expression you are using.&lt;/P&gt;&lt;P&gt;Like&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vamsee_0-1593185248855.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/36373iB1D5E5C8BA7FE7D3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vamsee_0-1593185248855.png" alt="vamsee_0-1593185248855.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if you are looking for something like&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vamsee_1-1593185291693.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/36374i76AAAC4CEAD8C4B6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vamsee_1-1593185291693.png" alt="vamsee_1-1593185291693.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jun 2020 15:28:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-a-Bar-Chart-Based-on-One-Value/m-p/1722653#M451896</guid>
      <dc:creator>vamsee</dc:creator>
      <dc:date>2020-06-26T15:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: Sort a Bar Chart Based on One Value</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-a-Bar-Chart-Based-on-One-Value/m-p/1722662#M451897</link>
      <description>&lt;P&gt;Say I have a chart like this. How do I sort it only&amp;nbsp;based on the Desired orange bar, where the orange bars go in descending order. The values of the bar I calculated using an expression&amp;nbsp;that has references to the dimensions.&amp;nbsp;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&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="graph_img.png" style="width: 521px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/36377iBF02AA01268FBA6E/image-dimensions/521x313?v=v2" width="521" height="313" role="button" title="graph_img.png" alt="graph_img.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jun 2020 15:40:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-a-Bar-Chart-Based-on-One-Value/m-p/1722662#M451897</guid>
      <dc:creator>lain_</dc:creator>
      <dc:date>2020-06-26T15:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: Sort a Bar Chart Based on One Value</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-a-Bar-Chart-Based-on-One-Value/m-p/1722770#M451899</link>
      <description>&lt;P&gt;Sample data:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;tab1:
LOAD 2006+IterNo()-1 As Year,
	Ceil(Rand()*1000) As Desired,
	Ceil(Rand()*1000) As Real
AutoGenerate 1
While IterNo()&amp;lt;=10;&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="commQV89.PNG" style="width: 928px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/36402i5E908E3FBF00979D/image-size/large?v=v2&amp;amp;px=999" role="button" title="commQV89.PNG" alt="commQV89.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jun 2020 00:22:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-a-Bar-Chart-Based-on-One-Value/m-p/1722770#M451899</guid>
      <dc:creator>Saravanan_Desingh</dc:creator>
      <dc:date>2020-06-27T00:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: Sort a Bar Chart Based on One Value</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-a-Bar-Chart-Based-on-One-Value/m-p/1722773#M451900</link>
      <description>&lt;P&gt;Two ways you can do.&lt;/P&gt;&lt;P&gt;Dimension: Year&lt;/P&gt;&lt;P&gt;Expression: Desired and Real&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="commQV90.PNG" style="width: 861px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/36403i927A84474BDC8640/image-size/large?v=v2&amp;amp;px=999" role="button" title="commQV90.PNG" alt="commQV90.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Make Desired as your first Expression.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="commQV91.PNG" style="width: 864px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/36404i625A01D87EEB7263/image-size/large?v=v2&amp;amp;px=999" role="button" title="commQV91.PNG" alt="commQV91.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jun 2020 00:25:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-a-Bar-Chart-Based-on-One-Value/m-p/1722773#M451900</guid>
      <dc:creator>Saravanan_Desingh</dc:creator>
      <dc:date>2020-06-27T00:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: Sort a Bar Chart Based on One Value</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-a-Bar-Chart-Based-on-One-Value/m-p/1723138#M451907</link>
      <description>&lt;P&gt;To clarify, the problem is that the desired and real values are both generated by the same expression. Please refer to my table on the original post.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2020 14:46:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-a-Bar-Chart-Based-on-One-Value/m-p/1723138#M451907</guid>
      <dc:creator>lain_</dc:creator>
      <dc:date>2020-06-29T14:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: Sort a Bar Chart Based on One Value</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-a-Bar-Chart-Based-on-One-Value/m-p/1723161#M451908</link>
      <description>&lt;P&gt;Can you please explain how do you have two bars for each year but in the sample data you mentioned only one metric.&lt;/P&gt;&lt;P&gt;It would be easier if you can share your qvw.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2020 15:37:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-a-Bar-Chart-Based-on-One-Value/m-p/1723161#M451908</guid>
      <dc:creator>vamsee</dc:creator>
      <dc:date>2020-06-29T15:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: Sort a Bar Chart Based on One Value</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-a-Bar-Chart-Based-on-One-Value/m-p/1723613#M451923</link>
      <description>&lt;P&gt;The qvw file is attached with&amp;nbsp;made up data.&amp;nbsp; How would I sort the chart with b=1 going in descending order?&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jun 2020 15:43:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-a-Bar-Chart-Based-on-One-Value/m-p/1723613#M451923</guid>
      <dc:creator>lain_</dc:creator>
      <dc:date>2020-06-30T15:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: Sort a Bar Chart Based on One Value</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-a-Bar-Chart-Based-on-One-Value/m-p/1724094#M451945</link>
      <description>&lt;P&gt;Unfortunately, I am not able to find a solution to this, for now, you use your expression in sort tab under b&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vamsee_0-1593540490682.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/36605i4515B51D79D4F149/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vamsee_0-1593540490682.png" alt="vamsee_0-1593540490682.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;This will work when one year (a) is selected. I tried searching the community for this and couldn't find much useful solutions.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/New-to-QlikView/sort-by-ascending-order-in-bar-chart-with-two-dimensions/m-p/1214130" target="_blank"&gt;https://community.qlik.com/t5/New-to-QlikView/sort-by-ascending-order-in-bar-chart-with-two-dimensions/m-p/1214130&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/New-to-Qlik-Sense/Sort-barchart-with-two-dimensions-by-measure/m-p/1180171" target="_blank"&gt;https://community.qlik.com/t5/New-to-Qlik-Sense/Sort-barchart-with-two-dimensions-by-measure/m-p/1180171&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/New-to-QlikView/2-Dimension-Bar-Chart-Sorting/m-p/966667" target="_blank"&gt;https://community.qlik.com/t5/New-to-QlikView/2-Dimension-Bar-Chart-Sorting/m-p/966667&lt;/A&gt;&lt;/P&gt;&lt;P&gt;With the 3rd option, you will be able to create a chart similar to&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vamsee_0-1593609932379.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/36765iAA1F5DED38AA30CE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vamsee_0-1593609932379.png" alt="vamsee_0-1593609932379.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2020 13:25:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-a-Bar-Chart-Based-on-One-Value/m-p/1724094#M451945</guid>
      <dc:creator>vamsee</dc:creator>
      <dc:date>2020-07-01T13:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: Sort a Bar Chart Based on One Value</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-a-Bar-Chart-Based-on-One-Value/m-p/1724148#M451948</link>
      <description>&lt;P&gt;Thank you for the effort. I think my problem is misunderstood. I want the sort the chart by rearranging the values on the x axis. So in the test.qvw I linked earlier, you see that each 'year' (a) is associated with&amp;nbsp;odd numbers from 1 to 9 (b)(excluding 11). How do I sort the year (a) so that&amp;nbsp;the associated 1 values (from b) are going in descending order. So in the test.qvw dashboard I have, it would be sorted&amp;nbsp;&amp;nbsp;like 2018, 2015, 2017, 2016 in this order. Looking at the blue bars associated with the value 1 (from b), they go in descending order from left to right. &amp;nbsp;The odd numbers from 1 to 9 (from b) though, should be kept in ascending order.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2020 14:51:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-a-Bar-Chart-Based-on-One-Value/m-p/1724148#M451948</guid>
      <dc:creator>lain_</dc:creator>
      <dc:date>2020-07-01T14:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: Sort a Bar Chart Based on One Value</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-a-Bar-Chart-Based-on-One-Value/m-p/1724540#M451973</link>
      <description>&lt;P&gt;I got the answer here: &lt;A href="https://community.qlik.com/t5/QlikView-App-Development/Sort-Dimension-1-of-Multiple-Bar-Chart/m-p/1724363" target="_self"&gt;https://community.qlik.com/t5/QlikView-App-Development/Sort-Dimension-1-of-Multiple-Bar-Chart/m-p/1724363&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thank you to everyone who helped.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jul 2020 14:45:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-a-Bar-Chart-Based-on-One-Value/m-p/1724540#M451973</guid>
      <dc:creator>lain_</dc:creator>
      <dc:date>2020-07-02T14:45:07Z</dc:date>
    </item>
  </channel>
</rss>

