<?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: Filter in Expression with Variable based on Bookmark in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Filter-in-Expression-with-Variable-based-on-Bookmark/m-p/1111719#M463980</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had it working with using my selection within the date so&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;='Total Lines = '&amp;amp;num(Count (distinct {&amp;lt;[B/P] = {'BED001'}&amp;gt;}&amp;nbsp; [Shipment Number2]),'#,##0') &amp;amp;' (' &amp;amp; num(count(distinct {&amp;lt;[B/P] = {'BED001'}&amp;gt;} [Shipment Number2])/count(distinct &lt;STRONG&gt;&amp;lt;Date&amp;gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; [Shipment Number2]),'#,##0.0%')&amp;amp; ')'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;But I am still curious if above asked is possible&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 May 2016 13:35:45 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-05-20T13:35:45Z</dc:date>
    <item>
      <title>Filter in Expression with Variable based on Bookmark</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-in-Expression-with-Variable-based-on-Bookmark/m-p/1111718#M463979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe I am making it things unnecessary complicated, but this is what I am trying achieve. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a graph that calculates the number of order lines shipped per order type. The titel of the graph is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='Total Lines = '&amp;amp;num(Count (distinct {&amp;lt;[B/P] = {'BED001'}&amp;gt;}&amp;nbsp; [Shipment Number2]),'#,##0') &amp;amp;' (' &amp;amp; num(count(distinct {&amp;lt;[B/P] = {'BED001'}&amp;gt;} [Shipment Number2])/count(distinct {1} [Shipment Number2]),'#,##0.0%')&amp;amp; ')' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in my example this looks like 'Total Lines = 499,492&amp;nbsp; (7.6%)'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Today I was surfing the forum and found a way to filter on a Bookmark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;='Total Lines = '&amp;amp;num(Count (distinct {&amp;lt;[B/P] = {'BED001'}&amp;gt;}&amp;nbsp; [Shipment Number2]),'#,##0') &amp;amp;' (' &amp;amp; num(count(distinct {&amp;lt;[B/P] = {'BED001'}&amp;gt;} [Shipment Number2])/count(distinct {&lt;STRONG&gt;BM58&lt;/STRONG&gt;} [Shipment Number2]),'#,##0.0%')&amp;amp; ')' &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Then my results is &lt;SPAN style="font-size: 13.3333px;"&gt;'Total Lines = 499,492&amp;nbsp; (100%)'. That was what I was looking for. But this 499,492 is the result for my bookmark for January. February has bookmark BM59...&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;So I thought I could create a variable: vBoomark and do:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;='Total Lines = '&amp;amp;num(Count (distinct {&amp;lt;[B/P] = {'BED001'}&amp;gt;}&amp;nbsp; [Shipment Number2]),'#,##0') &amp;amp;' (' &amp;amp; num(count(distinct {&amp;lt;[B/P] = {'BED001'}&amp;gt;} [Shipment Number2])/count(distinct {&lt;/SPAN&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;vBookmark&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;} [Shipment Number2]),'#,##0.0%')&amp;amp; ')' &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Where my variable is set as BM58, BM59 etc.... &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;However vBookmark is not accepted in the formula between {} in the current set-up. Neither was =vBoomark or 'vBookmark' or any other probably stupid option I tried. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Should this be possible or is it not?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thanks all&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 11:16:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-in-Expression-with-Variable-based-on-Bookmark/m-p/1111718#M463979</guid>
      <dc:creator />
      <dc:date>2016-05-20T11:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: Filter in Expression with Variable based on Bookmark</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-in-Expression-with-Variable-based-on-Bookmark/m-p/1111719#M463980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had it working with using my selection within the date so&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;='Total Lines = '&amp;amp;num(Count (distinct {&amp;lt;[B/P] = {'BED001'}&amp;gt;}&amp;nbsp; [Shipment Number2]),'#,##0') &amp;amp;' (' &amp;amp; num(count(distinct {&amp;lt;[B/P] = {'BED001'}&amp;gt;} [Shipment Number2])/count(distinct &lt;STRONG&gt;&amp;lt;Date&amp;gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; [Shipment Number2]),'#,##0.0%')&amp;amp; ')'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;But I am still curious if above asked is possible&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 13:35:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-in-Expression-with-Variable-based-on-Bookmark/m-p/1111719#M463980</guid>
      <dc:creator />
      <dc:date>2016-05-20T13:35:45Z</dc:date>
    </item>
  </channel>
</rss>

