<?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 By Expression (Months of Fiscal Year) in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Sorting-By-Expression-Months-of-Fiscal-Year/m-p/83289#M5530</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please see the attached application illustrating the issue occurring in Qlik Sense 3.2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Feb 2018 17:03:45 GMT</pubDate>
    <dc:creator>wdchristensen</dc:creator>
    <dc:date>2018-02-12T17:03:45Z</dc:date>
    <item>
      <title>Sorting By Expression (Months of Fiscal Year)</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-By-Expression-Months-of-Fiscal-Year/m-p/83285#M5526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was attempting to reorder the months based on the start of the fiscal year. My first attempt at this was adding “&lt;EM&gt;Mod((Month(Tbl01_Date)+3), 12)&lt;/EM&gt;” to a custom sort expression as shown below in &lt;STRONG&gt;Line Chart 2&lt;/STRONG&gt; below. I would like to know why this didn’t sort as expected. I eventually was able to achieve the desired sort order with the expression “&lt;EM&gt;Only({1}Mod((Month(Tbl01_Date)+3)&lt;/EM&gt;, 12))” as shown in Line Chart 1. I would like to know why I had to use a set analysis expression to make this work. I would appreciate any help you can provide in understanding this strange behavior. &lt;/P&gt;&lt;P&gt;&lt;IMG alt="StrangeSortBehavior.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/192976_StrangeSortBehavior.png" style="height: 418px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Qlik Sense 3.2&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Nov 2024 08:43:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-By-Expression-Months-of-Fiscal-Year/m-p/83285#M5526</guid>
      <dc:creator>wdchristensen</dc:creator>
      <dc:date>2024-11-16T08:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting By Expression (Months of Fiscal Year)</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-By-Expression-Months-of-Fiscal-Year/m-p/83286#M5527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="AncientAliens.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/193148_AncientAliens.jpg" style="height: 620px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2018 14:51:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-By-Expression-Months-of-Fiscal-Year/m-p/83286#M5527</guid>
      <dc:creator>wdchristensen</dc:creator>
      <dc:date>2018-02-12T14:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting By Expression (Months of Fiscal Year)</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-By-Expression-Months-of-Fiscal-Year/m-p/83287#M5528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Were you making selections when you tried just this&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Mod((Month(Tbl01_Date)+3), 12)?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you did, then the expression is only populated where it is in the selection, whereas you might be using set analysis to show more than your default selection. So, in order for the sort expression to sort the unselected stuff, it either needs the same set analysis like your expression or use {1} to ignore everything&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2018 14:54:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-By-Expression-Months-of-Fiscal-Year/m-p/83287#M5528</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-02-12T14:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting By Expression (Months of Fiscal Year)</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-By-Expression-Months-of-Fiscal-Year/m-p/83288#M5529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you share your app??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2018 14:57:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-By-Expression-Months-of-Fiscal-Year/m-p/83288#M5529</guid>
      <dc:creator>big_dreams</dc:creator>
      <dc:date>2018-02-12T14:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting By Expression (Months of Fiscal Year)</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-By-Expression-Months-of-Fiscal-Year/m-p/83289#M5530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please see the attached application illustrating the issue occurring in Qlik Sense 3.2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2018 17:03:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-By-Expression-Months-of-Fiscal-Year/m-p/83289#M5530</guid>
      <dc:creator>wdchristensen</dc:creator>
      <dc:date>2018-02-12T17:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting By Expression (Months of Fiscal Year)</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-By-Expression-Months-of-Fiscal-Year/m-p/83290#M5531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It appears that you have multiple years which might have been causing this... Using Max() function seems to resolve the issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mod((Month(&lt;SPAN style="color: #ff0000;"&gt;Max&lt;/SPAN&gt;(Tbl01_Date))+3), 12)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2018 17:24:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-By-Expression-Months-of-Fiscal-Year/m-p/83290#M5531</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-02-12T17:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting By Expression (Months of Fiscal Year)</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-By-Expression-Months-of-Fiscal-Year/m-p/83291#M5532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny, I appreciate your reply. As you can see from the application I already have a working solution which utilizes an aggregate function (&lt;EM&gt;Only&lt;/EM&gt;). I know from trial and error that the solution is to use an aggregate function to resolve the issue, what I don’t know is &lt;STRONG&gt;"why"&lt;/STRONG&gt;. If for example the year was the issue, what exactly about the year would be the issue? Additionally, you would see the data sort correctly if only one year of data was brought in. Any other thoughts? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2018 17:35:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-By-Expression-Months-of-Fiscal-Year/m-p/83291#M5532</guid>
      <dc:creator>wdchristensen</dc:creator>
      <dc:date>2018-02-12T17:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting By Expression (Months of Fiscal Year)</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-By-Expression-Months-of-Fiscal-Year/m-p/83292#M5533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not entirely sure why this happens (could be a bug), but if I create Month(Tbl01_Date) as dimension and the expressions from the image, it seems that all of them work (without selection) except &lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Mod((Month(Tbl01_Date)+3), 12)&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/193176_Capture.PNG" style="height: 215px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I have always thought that Having a Only (without set analysis) is equivalent of not having any only, but this seems to defy that. Could be a Qlik Sense bug and may be &lt;A href="https://community.qlik.com/qlik-users/77808"&gt;mto&lt;/A&gt;‌ might be able to confirm or reject the findings.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2018 19:21:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-By-Expression-Months-of-Fiscal-Year/m-p/83292#M5533</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-02-12T19:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting By Expression (Months of Fiscal Year)</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-By-Expression-Months-of-Fiscal-Year/m-p/1570970#M41620</link>
      <description>&lt;P&gt;Hi Wdchristensen,&lt;/P&gt;&lt;P&gt;your Expression is giving from Sep onward&amp;nbsp; for any selection from filter Pane,&lt;/P&gt;&lt;P&gt;If i want based on selection means , if i want to select from june than graph will be show from June to May continuously.&lt;/P&gt;&lt;P&gt;Please help how do i achieve above scenario.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Akshaya&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2019 11:30:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-By-Expression-Months-of-Fiscal-Year/m-p/1570970#M41620</guid>
      <dc:creator>Akshaya45</dc:creator>
      <dc:date>2019-04-18T11:30:15Z</dc:date>
    </item>
  </channel>
</rss>

