<?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: am pm filter pane qlik sense in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/am-pm-filter-pane-qlik-sense/m-p/929066#M12872</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried this in the load as suggested&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as need to define AM and PM times&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(((Frac([Order Date]))&amp;gt;=Time('17:00:00') AND (Frac([Order Date]))&amp;lt;=Time('08:00:00')), 'PM', 'AM') as Night and Day&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I still only see AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Oct 2015 10:02:59 GMT</pubDate>
    <dc:creator>joeybird</dc:creator>
    <dc:date>2015-10-08T10:02:59Z</dc:date>
    <item>
      <title>am pm filter pane qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/am-pm-filter-pane-qlik-sense/m-p/929063#M12869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hiya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how do you create a filter pane to just show AM&amp;nbsp; and PM option&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Time([Order Date],'TT')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this works , but It creates loads of instances of AM and PM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;need to group by AM and PM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have done this in the data load too&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date(Floor([Order Date]))&amp;nbsp; as "Order Date",&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 13:44:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/am-pm-filter-pane-qlik-sense/m-p/929063#M12869</guid>
      <dc:creator>joeybird</dc:creator>
      <dc:date>2015-10-07T13:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: am pm filter pane qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/am-pm-filter-pane-qlik-sense/m-p/929064#M12870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hiya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;date and time is held in same field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tried this too but no joy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If((Time(Frac([Order Date]))&amp;gt;=Time('12:00:00') AND Time(Frac([OrderDate]))&amp;lt;=Time('00:00:00')), 'PM', 'AM')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 09:23:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/am-pm-filter-pane-qlik-sense/m-p/929064#M12870</guid>
      <dc:creator>joeybird</dc:creator>
      <dc:date>2015-10-08T09:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: am pm filter pane qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/am-pm-filter-pane-qlik-sense/m-p/929065#M12871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's because Time() simply formats the value, the underlying value is not changed, so each distinct &lt;EM&gt;value&lt;/EM&gt; will appear in the list box even though they look the same due to the &lt;EM&gt;formatting. &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to create two distinct values, fort example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =If(Frac(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Order Date]) &amp;gt;= 0.5, 'PM', 'AM')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Better still is to do this logic in the load scripts to create an AMPM field using the same logic.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 09:31:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/am-pm-filter-pane-qlik-sense/m-p/929065#M12871</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-10-08T09:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: am pm filter pane qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/am-pm-filter-pane-qlik-sense/m-p/929066#M12872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried this in the load as suggested&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as need to define AM and PM times&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(((Frac([Order Date]))&amp;gt;=Time('17:00:00') AND (Frac([Order Date]))&amp;lt;=Time('08:00:00')), 'PM', 'AM') as Night and Day&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I still only see AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 10:02:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/am-pm-filter-pane-qlik-sense/m-p/929066#M12872</guid>
      <dc:creator>joeybird</dc:creator>
      <dc:date>2015-10-08T10:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: am pm filter pane qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/am-pm-filter-pane-qlik-sense/m-p/929067#M12873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try (17/24) instead of Time('17:00:00') and (8/24) instead of Time('08:00:00')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as Frac([Order Date]) will return a number, rather than a time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;If(((Frac([Order Date]))&amp;gt;=(17/24) AND (Frac([Order Date]))&amp;lt;=(8/24)), 'PM', 'AM') as Night and Day&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 10:49:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/am-pm-filter-pane-qlik-sense/m-p/929067#M12873</guid>
      <dc:creator />
      <dc:date>2015-10-08T10:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: am pm filter pane qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/am-pm-filter-pane-qlik-sense/m-p/929068#M12874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;oops - my bad&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;If(((Frac([Order Date]))&amp;gt;=(17/24) OR (Frac([Order Date]))&amp;lt;=(8/24)), 'PM', 'AM') as Night and Day&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;although:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;If(((Hour([Order Date]))&amp;gt;=17 OR (Hour([Order Date]))&amp;lt;=8), 'PM', 'AM') as Night and Day&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;would probably be easier to read&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 11:06:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/am-pm-filter-pane-qlik-sense/m-p/929068#M12874</guid>
      <dc:creator />
      <dc:date>2015-10-08T11:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: am pm filter pane qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/am-pm-filter-pane-qlik-sense/m-p/929069#M12875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hiya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(Frac(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Order Date]) &amp;gt;= 17/12, 'PM', 'AM')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;works fine for first part &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if I add next time bracket frame &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;If(((Frac([Order Date]))&amp;gt;=(17/24) AND (Frac([Order Date]))&amp;lt;=(8/24)), 'PM', 'AM')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;I can only see AM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 11:26:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/am-pm-filter-pane-qlik-sense/m-p/929069#M12875</guid>
      <dc:creator>joeybird</dc:creator>
      <dc:date>2015-10-08T11:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: am pm filter pane qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/am-pm-filter-pane-qlik-sense/m-p/929070#M12876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think that &lt;STRONG&gt;AND&lt;/STRONG&gt; should be an &lt;STRONG&gt;OR&lt;/STRONG&gt;.&amp;nbsp; I don't think you're expecting an Order Date which is before 8am *and* after 5pm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd think you want;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;If(((Frac([Order Date]))&amp;gt;=(17/24) &lt;STRONG&gt;OR&lt;/STRONG&gt; (Frac([Order Date]))&amp;lt;=(8/24)), 'PM', 'AM') as Night and Day&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 12:50:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/am-pm-filter-pane-qlik-sense/m-p/929070#M12876</guid>
      <dc:creator>quriouss</dc:creator>
      <dc:date>2015-10-08T12:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: am pm filter pane qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/am-pm-filter-pane-qlik-sense/m-p/929071#M12877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hiya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks team, we have a result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for both your help as Andrews answer worked to get AM / PM in general too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wish you could check multiple correct instances&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 13:02:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/am-pm-filter-pane-qlik-sense/m-p/929071#M12877</guid>
      <dc:creator>joeybird</dc:creator>
      <dc:date>2015-10-08T13:02:35Z</dc:date>
    </item>
  </channel>
</rss>

