<?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: Sorting On Calculated Dimension in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Sorting-On-Calculated-Dimension/m-p/1554014#M39900</link>
    <description>&lt;P&gt;May be try this?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Match(state, 'CA',&amp;nbsp;'DC',&amp;nbsp;'FL',&amp;nbsp;'GA',&amp;nbsp;'IL',&amp;nbsp;'LA',&amp;nbsp;'MA',&amp;nbsp;'MI',&amp;nbsp;'NY',&amp;nbsp;'SC',&amp;nbsp;'TN',&amp;nbsp;'TX',&amp;nbsp;'VA')&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 08 Mar 2019 08:30:09 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2019-03-08T08:30:09Z</dc:date>
    <item>
      <title>Sorting On Calculated Dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-On-Calculated-Dimension/m-p/1553534#M39861</link>
      <description>&lt;P&gt;Hello Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a bar chart with a calculated dimension based on the following logic to adjust a datetime column which is in UTC :&lt;/P&gt;&lt;P&gt;if(state='CA',time(myTimeColumn-8/24,'hh:mm'),&lt;BR /&gt;if(state='DC',time(myTimeColumn-5/24,'hh:mm'),&lt;BR /&gt;if(state='FL',time(myTimeColumn-5/24,'hh:mm'),&lt;BR /&gt;if(state='GA',time(myTimeColumn-5/24,'hh:mm'),&lt;BR /&gt;if(state='IL',time(myTimeColumn-6/24,'hh:mm'),&lt;BR /&gt;if(state='LA',time(myTimeColumn-6/24,'hh:mm'),&lt;BR /&gt;if(state='MA',time(myTimeColumn-5/24,'hh:mm'),&lt;BR /&gt;if(state='MI',time(myTimeColumn-5/24,'hh:mm'),&lt;BR /&gt;if(state='NY',time(myTimeColumn-5/24,'hh:mm'),&lt;BR /&gt;if(state='SC',time(myTimeColumn-5/24,'hh:mm'),&lt;BR /&gt;if(state='TN',time(myTimeColumn-6/24,'hh:mm'),&lt;BR /&gt;if(state='TX',time(myTimeColumn-6/24,'hh:mm'),&lt;BR /&gt;if(state='VA',time(myTimeColumn-5/24,'hh:mm'),&lt;BR /&gt;time(myTimeColumn,'hh:mm')&lt;BR /&gt;)))))))))))))&lt;/P&gt;&lt;P&gt;I would like to sort the X-axis of the bar chart in order of the adjusted time and cannot create this calculated field during data import as the state column and myTimeColumn are in two separate tables.&lt;/P&gt;&lt;P&gt;Adding this logic in the sort expression doesn't seem to make any difference, the x_axis doesn't seem to have any obvious sort order.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2019 11:53:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-On-Calculated-Dimension/m-p/1553534#M39861</guid>
      <dc:creator>scottacooper</dc:creator>
      <dc:date>2019-03-07T11:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting On Calculated Dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-On-Calculated-Dimension/m-p/1554014#M39900</link>
      <description>&lt;P&gt;May be try this?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Match(state, 'CA',&amp;nbsp;'DC',&amp;nbsp;'FL',&amp;nbsp;'GA',&amp;nbsp;'IL',&amp;nbsp;'LA',&amp;nbsp;'MA',&amp;nbsp;'MI',&amp;nbsp;'NY',&amp;nbsp;'SC',&amp;nbsp;'TN',&amp;nbsp;'TX',&amp;nbsp;'VA')&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2019 08:30:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-On-Calculated-Dimension/m-p/1554014#M39900</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2019-03-08T08:30:09Z</dc:date>
    </item>
  </channel>
</rss>

