<?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: Always One Selected Value Except for One Chart in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Always-One-Selected-Value-Except-for-One-Chart/m-p/1586265#M42886</link>
    <description>&lt;P&gt;Hi Martinpohl,&lt;/P&gt;&lt;P&gt;Sorry, I just updated the post with more information.&amp;nbsp; My data shows 12 months rolling before being imported into Qlik.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 14:33:47 GMT</pubDate>
    <dc:creator>nropelewski</dc:creator>
    <dc:date>2019-05-29T14:33:47Z</dc:date>
    <item>
      <title>Always One Selected Value Except for One Chart</title>
      <link>https://community.qlik.com/t5/App-Development/Always-One-Selected-Value-Except-for-One-Chart/m-p/1586252#M42880</link>
      <description>&lt;P&gt;In my app, I have a date field that represents the total number of policies as of a specific date.&amp;nbsp; I would like to use the Always One Selected Value option on this date field because it's 12 month rolling.&amp;nbsp; However, I would like to provide a line chart to show trending, which is obviously useless if you can only select one point in time.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is an example of my data:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;AsOf&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Policies_Eligible&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Pols_With_Coverage&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;2/28/2019&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;100&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;20&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;3/31/2019&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;50&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;30&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;4/30/2019&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;50&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;50&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So as of 2/28/2019, there were 100 eligible policies and 20 policies with the specific coverage.&amp;nbsp; When the user selects a date range of 2/28/2019-4/30/2019, it would show that we had 200 eligible policies, and 100 policies with the feature, which isn’t correct.&amp;nbsp; I want to show only one point in time at a time for every chart object in the app, EXCEPT FOR the line chart.&amp;nbsp;&amp;nbsp;Is there a way to achieve this?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 20:46:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Always-One-Selected-Value-Except-for-One-Chart/m-p/1586252#M42880</guid>
      <dc:creator>nropelewski</dc:creator>
      <dc:date>2024-11-16T20:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: Always One Selected Value Except for One Chart</title>
      <link>https://community.qlik.com/t5/App-Development/Always-One-Selected-Value-Except-for-One-Chart/m-p/1586259#M42883</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;so use an expression like&lt;/P&gt;&lt;P&gt;count({&amp;lt;Date={"&amp;gt;=$(=date(addyears(max(Date),-1)))&amp;lt;=$(=date(max(Date)))"}&amp;gt;} Policy)&lt;/P&gt;&lt;P&gt;where you count all values between max date (=selected value) and max date - 1 year&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 14:23:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Always-One-Selected-Value-Except-for-One-Chart/m-p/1586259#M42883</guid>
      <dc:creator>martinpohl</dc:creator>
      <dc:date>2019-05-29T14:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: Always One Selected Value Except for One Chart</title>
      <link>https://community.qlik.com/t5/App-Development/Always-One-Selected-Value-Except-for-One-Chart/m-p/1586265#M42886</link>
      <description>&lt;P&gt;Hi Martinpohl,&lt;/P&gt;&lt;P&gt;Sorry, I just updated the post with more information.&amp;nbsp; My data shows 12 months rolling before being imported into Qlik.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 14:33:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Always-One-Selected-Value-Except-for-One-Chart/m-p/1586265#M42886</guid>
      <dc:creator>nropelewski</dc:creator>
      <dc:date>2019-05-29T14:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: Always One Selected Value Except for One Chart</title>
      <link>https://community.qlik.com/t5/App-Development/Always-One-Selected-Value-Except-for-One-Chart/m-p/1586271#M42889</link>
      <description>&lt;P&gt;You have lots of options.&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Use the always one selected and in the line chart expression ignore the AsOf selection.&lt;/P&gt;&lt;P&gt;=count({&amp;lt;AsOf=&amp;gt;}&amp;nbsp;&lt;SPAN&gt;Policies_Eligible)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. Don't use Always one Selected and in your charts where you want a single date limit to the max AsOf:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=count({&amp;lt;AsOf="$(=Date(Max(AsOf)))"&amp;gt;}&amp;nbsp;&lt;SPAN&gt;Policies_Eligible)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3. Use an alternate state for the line chart to allow for a custom AsOf range selection.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-Rob&lt;BR /&gt;&lt;A href="http://masterssummit.com" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://qlikviewcookbook.com" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.easyqlik.com" target="_blank"&gt;http://www.easyqlik.com&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 14:40:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Always-One-Selected-Value-Except-for-One-Chart/m-p/1586271#M42889</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2019-05-29T14:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: Always One Selected Value Except for One Chart</title>
      <link>https://community.qlik.com/t5/App-Development/Always-One-Selected-Value-Except-for-One-Chart/m-p/1586290#M42896</link>
      <description>&lt;P&gt;Thank you, Rob!&amp;nbsp; I didn't think of ignoring the AsOf selections.&amp;nbsp; I do have some other requirements that cause issues with your proposed solutions..&lt;/P&gt;&lt;P&gt;1. This works, but the chart shows the full range of dates, and I am unable to allow the consumer to make selections.&amp;nbsp; The data is over several years, so we would want to all selections.&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; I could do this, but then I'm allowing my users to make multiple selections in the filter pane, but only showing the most recent value.&amp;nbsp; I could try to make this clear with a text box, but I don't really love that solution.&lt;/P&gt;&lt;P&gt;3.&amp;nbsp; I planned on using the alternate state for the line chart, but the Always One Selected setting is across all states, so that doesn't solve this particular issue..&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 15:03:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Always-One-Selected-Value-Except-for-One-Chart/m-p/1586290#M42896</guid>
      <dc:creator>nropelewski</dc:creator>
      <dc:date>2019-05-29T15:03:52Z</dc:date>
    </item>
  </channel>
</rss>

