<?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: Manage Dataset based on user's actions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Manage-Dataset-based-on-user-s-actions/m-p/549030#M1127470</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Aleksander,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expressions for your text boxes will be (my additions in &lt;STRONG&gt;bold&lt;/STRONG&gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max Return:&lt;BR /&gt;= Round((&lt;BR /&gt;&lt;STRONG&gt;max(aggr(&lt;/STRONG&gt;&lt;BR /&gt;Sum({$&amp;lt;PositionHistoryDate = {'$(vToDate)'}, OpenDate ={"&amp;lt;=$(vToDate)"}, CloseDate ={"&amp;gt;=$(vFromDate)"}&amp;gt;}PositionHistoryValue) /&lt;BR /&gt;Sum({$&amp;lt;PositionHistoryDate = {'$(vFromDate)'},OpenDate ={"&amp;lt;=$(vToDate)"}, CloseDate ={"&amp;gt;=$(vFromDate)"}&amp;gt;}PositionHistoryValue) - 1 &lt;BR /&gt;&lt;STRONG&gt;,PositionId))&lt;/STRONG&gt;&lt;BR /&gt;) * 100, 0.1) &amp;amp; '%'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max Possible Return:&lt;BR /&gt;= Round((&lt;BR /&gt;&lt;STRONG&gt;max(aggr(&lt;/STRONG&gt;&lt;BR /&gt;Max({$&amp;lt;PositionHistoryDate = {"&amp;lt;=$(vToDate)"},PositionHistoryDate = {"&amp;gt;=$(vFromDate)"}, OpenDate ={"&amp;lt;=$(vToDate)"}, CloseDate ={"&amp;gt;=$(vFromDate)"}&amp;gt;}PositionHistoryValue) /&lt;BR /&gt;Sum({$&amp;lt;PositionHistoryDate = {'$(vFromDate)'},OpenDate ={"&amp;lt;=$(vToDate)"}, CloseDate ={"&amp;gt;=$(vFromDate)"}&amp;gt;}PositionHistoryValue) - 1 &lt;BR /&gt;&lt;STRONG&gt;,PositionId))&lt;/STRONG&gt;&lt;BR /&gt;) * 100, 0.1) &amp;amp; '%'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't help you with the bar chart because I have no idea from your data what the Portfolio count or x-gap is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Jan 2014 16:38:35 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-01-07T16:38:35Z</dc:date>
    <item>
      <title>Manage Dataset based on user's actions</title>
      <link>https://community.qlik.com/t5/QlikView/Manage-Dataset-based-on-user-s-actions/m-p/549025#M1127465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello to everyone.&lt;/P&gt;&lt;P&gt;Could someone help me with the following problem please?:&lt;/P&gt;&lt;P&gt;I have a dataset that has Two entities: Portfolio and Value&lt;/P&gt;&lt;P&gt;Value has Date property, something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Portfolio&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="99" style="border: 1px solid #000000; width: 149px; height: 85px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;PositionId&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;PositionName&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;MS&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;APPL&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;SMI&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Value&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="124" style="border: 1px solid #000000; height: 108px; width: 216px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Date&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;PositionId&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Money&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;20/01/2012&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;20/01/2012&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;56&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;21/01/2012&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;6&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;21/01/2012&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;60&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also I have two calendars which sets two date variables.&lt;/P&gt;&lt;P&gt;And I have to dynamicly calculate value based on some formula for each position. The operands of the formula are two Money from Value entity for selected date variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I reached this in Chart(table-view) control and I can display this calculated value there because Chart automaticly groups all data by Position.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But now I need these calculated things as an operands for another formula and I wander If there is some way to dynamicly manage dataset.&lt;/P&gt;&lt;P&gt;Let's say I would have &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Portfolio&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="126" style="border: 1px solid #000000; width: 376px; height: 128px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;PositionId&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;PositionName&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;Calculated Property&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;MS&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;#1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;APPL&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;#2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;SMI&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;#3&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;And these Calculated property I could Update based on some actinos that user does.&lt;/P&gt;&lt;P&gt;Whar do you think?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jan 2014 09:58:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Manage-Dataset-based-on-user-s-actions/m-p/549025#M1127465</guid>
      <dc:creator />
      <dc:date>2014-01-03T09:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: Manage Dataset based on user's actions</title>
      <link>https://community.qlik.com/t5/QlikView/Manage-Dataset-based-on-user-s-actions/m-p/549026#M1127466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alek ,&lt;/P&gt;&lt;P&gt;You explained that you are going to quote some value based on actions from the user in your dashboard.&lt;/P&gt;&lt;P&gt;Now you need to provide details of the action .&lt;/P&gt;&lt;P&gt;May what i think you are just going to raise a flag based on selection of some filters.&lt;/P&gt;&lt;P&gt;Please explain in more detail.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jan 2014 10:04:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Manage-Dataset-based-on-user-s-actions/m-p/549026#M1127466</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2014-01-03T10:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: Manage Dataset based on user's actions</title>
      <link>https://community.qlik.com/t5/QlikView/Manage-Dataset-based-on-user-s-actions/m-p/549027#M1127467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello sujeetsingh,&lt;/P&gt;&lt;P&gt;User selects two dates in two calendars. These calendars manages two variables (vFromDate and vToDate)&lt;/P&gt;&lt;P&gt;The formula I need to calculate is something like&lt;STRONG&gt; Money(for vToDate) / Money(for vFromDate)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;As you can see, the formula itself is working with ALL Value dataset and If I use this formula as an expression in Chart who's dimention is &lt;STRONG&gt;Position - &lt;/STRONG&gt;the chart does the rest of job and it &lt;STRONG&gt;GROUPS Value&lt;/STRONG&gt; entity for each Position.&lt;/P&gt;&lt;P&gt;But now I need to have this calculated thing in dataset I think. But because this thing depends on what vFromDate and vToDate selected - I can't define it durign ETL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's say I want to know which &lt;STRONG&gt;Money(for vToDate) / Money(for vFromDate)&lt;/STRONG&gt; is the BIGGEST (for what Posotion).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jan 2014 10:16:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Manage-Dataset-based-on-user-s-actions/m-p/549027#M1127467</guid>
      <dc:creator />
      <dc:date>2014-01-03T10:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: Manage Dataset based on user's actions</title>
      <link>https://community.qlik.com/t5/QlikView/Manage-Dataset-based-on-user-s-actions/m-p/549028#M1127468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can't help without an example, but it looks like the expression should use set analysis where vToDate and vFromDate are used in set modifiers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jan 2014 18:28:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Manage-Dataset-based-on-user-s-actions/m-p/549028#M1127468</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-03T18:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: Manage Dataset based on user's actions</title>
      <link>https://community.qlik.com/t5/QlikView/Manage-Dataset-based-on-user-s-actions/m-p/549029#M1127469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is an example&lt;/P&gt;&lt;P&gt;&lt;A href="https://dl.dropboxusercontent.com/u/36492054/test.qvw" title="https://dl.dropboxusercontent.com/u/36492054/test.qvw"&gt;https://dl.dropboxusercontent.com/u/36492054/test.qvw&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a column "Max Possible Return" that is a calculated property based on user selected dates&lt;/P&gt;&lt;P&gt;I need to find the Biggest calculated value and create the following diagram:&lt;/P&gt;&lt;P&gt;X is the "Max Possible Return" value&lt;/P&gt;&lt;P&gt;Y is the Portfolio's count for x-gap. (x-gap is 10 for positive and 5 for negative).&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="IMG_04012014_161347.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/51084_IMG_04012014_161347.png" /&gt;&lt;/P&gt;&lt;P&gt;I really have no Idea how to do this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Jan 2014 13:45:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Manage-Dataset-based-on-user-s-actions/m-p/549029#M1127469</guid>
      <dc:creator />
      <dc:date>2014-01-04T13:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: Manage Dataset based on user's actions</title>
      <link>https://community.qlik.com/t5/QlikView/Manage-Dataset-based-on-user-s-actions/m-p/549030#M1127470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Aleksander,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expressions for your text boxes will be (my additions in &lt;STRONG&gt;bold&lt;/STRONG&gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max Return:&lt;BR /&gt;= Round((&lt;BR /&gt;&lt;STRONG&gt;max(aggr(&lt;/STRONG&gt;&lt;BR /&gt;Sum({$&amp;lt;PositionHistoryDate = {'$(vToDate)'}, OpenDate ={"&amp;lt;=$(vToDate)"}, CloseDate ={"&amp;gt;=$(vFromDate)"}&amp;gt;}PositionHistoryValue) /&lt;BR /&gt;Sum({$&amp;lt;PositionHistoryDate = {'$(vFromDate)'},OpenDate ={"&amp;lt;=$(vToDate)"}, CloseDate ={"&amp;gt;=$(vFromDate)"}&amp;gt;}PositionHistoryValue) - 1 &lt;BR /&gt;&lt;STRONG&gt;,PositionId))&lt;/STRONG&gt;&lt;BR /&gt;) * 100, 0.1) &amp;amp; '%'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max Possible Return:&lt;BR /&gt;= Round((&lt;BR /&gt;&lt;STRONG&gt;max(aggr(&lt;/STRONG&gt;&lt;BR /&gt;Max({$&amp;lt;PositionHistoryDate = {"&amp;lt;=$(vToDate)"},PositionHistoryDate = {"&amp;gt;=$(vFromDate)"}, OpenDate ={"&amp;lt;=$(vToDate)"}, CloseDate ={"&amp;gt;=$(vFromDate)"}&amp;gt;}PositionHistoryValue) /&lt;BR /&gt;Sum({$&amp;lt;PositionHistoryDate = {'$(vFromDate)'},OpenDate ={"&amp;lt;=$(vToDate)"}, CloseDate ={"&amp;gt;=$(vFromDate)"}&amp;gt;}PositionHistoryValue) - 1 &lt;BR /&gt;&lt;STRONG&gt;,PositionId))&lt;/STRONG&gt;&lt;BR /&gt;) * 100, 0.1) &amp;amp; '%'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't help you with the bar chart because I have no idea from your data what the Portfolio count or x-gap is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jan 2014 16:38:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Manage-Dataset-based-on-user-s-actions/m-p/549030#M1127470</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-07T16:38:35Z</dc:date>
    </item>
  </channel>
</rss>

