<?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 Creating a table to display one recommendation in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Creating-a-table-to-display-one-recommendation/m-p/1581747#M42500</link>
    <description>&lt;P&gt;I am building a sheet that displays two tables.&amp;nbsp; One shows a detailed view, and the other I want to display one recommended row per dimension based on a criteria entered by the user.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Detail Table columns:&lt;/P&gt;&lt;P&gt;-Origin/Destination Pairs&lt;/P&gt;&lt;P&gt;-Transit Time in Days&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;gt;calculated as:&amp;nbsp;=aggr(only({&amp;lt;[Delivered shipment count] = {'1'}&amp;gt; * &amp;lt;[InTransit Time] = {"&amp;gt;0"}&amp;gt;} [InTransit Time]), ODPairTransit)&lt;/P&gt;&lt;P&gt;as my Dimensions&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Cumulative OnTime %&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;gt;calculated as:&amp;nbsp;=(rangesum(above(sum({&amp;lt;[Delivered shipment count] = {'1'}&amp;gt;} [Delivered shipment count]), 0, RowNo()))&lt;BR /&gt;/Aggr(NODISTINCT sum({&amp;lt;[Delivered shipment count] = {'1'}&amp;gt; } [Delivered shipment count]), ODPair))&lt;/P&gt;&lt;P&gt;as my measure&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want my Recommended table to show one Transit Time per each OD Pair where the Cumulative % is over a certain value entered by the user and stored in a variable. ex. 0.85 (for 85%).&lt;/P&gt;&lt;P&gt;I have tried to use the limitation &amp;gt;= my variable, but this doesn't work.&amp;nbsp; I created a work around in the load editor, but this generates a static table.&amp;nbsp; I need the user to be able to make selections based on Year, Carrier, etc.&amp;nbsp;&lt;/P&gt;&lt;P&gt;ODPairTransit is just a concat of ODPair and the Transit Time generated in the load script.&lt;/P&gt;&lt;P&gt;The purpose of this is to show the recommended Transit Time required to meet or exceed the desired On Time % (ex. 85%).&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 05:48:02 GMT</pubDate>
    <dc:creator>JNevil</dc:creator>
    <dc:date>2024-11-16T05:48:02Z</dc:date>
    <item>
      <title>Creating a table to display one recommendation</title>
      <link>https://community.qlik.com/t5/App-Development/Creating-a-table-to-display-one-recommendation/m-p/1581747#M42500</link>
      <description>&lt;P&gt;I am building a sheet that displays two tables.&amp;nbsp; One shows a detailed view, and the other I want to display one recommended row per dimension based on a criteria entered by the user.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Detail Table columns:&lt;/P&gt;&lt;P&gt;-Origin/Destination Pairs&lt;/P&gt;&lt;P&gt;-Transit Time in Days&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;gt;calculated as:&amp;nbsp;=aggr(only({&amp;lt;[Delivered shipment count] = {'1'}&amp;gt; * &amp;lt;[InTransit Time] = {"&amp;gt;0"}&amp;gt;} [InTransit Time]), ODPairTransit)&lt;/P&gt;&lt;P&gt;as my Dimensions&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Cumulative OnTime %&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;gt;calculated as:&amp;nbsp;=(rangesum(above(sum({&amp;lt;[Delivered shipment count] = {'1'}&amp;gt;} [Delivered shipment count]), 0, RowNo()))&lt;BR /&gt;/Aggr(NODISTINCT sum({&amp;lt;[Delivered shipment count] = {'1'}&amp;gt; } [Delivered shipment count]), ODPair))&lt;/P&gt;&lt;P&gt;as my measure&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want my Recommended table to show one Transit Time per each OD Pair where the Cumulative % is over a certain value entered by the user and stored in a variable. ex. 0.85 (for 85%).&lt;/P&gt;&lt;P&gt;I have tried to use the limitation &amp;gt;= my variable, but this doesn't work.&amp;nbsp; I created a work around in the load editor, but this generates a static table.&amp;nbsp; I need the user to be able to make selections based on Year, Carrier, etc.&amp;nbsp;&lt;/P&gt;&lt;P&gt;ODPairTransit is just a concat of ODPair and the Transit Time generated in the load script.&lt;/P&gt;&lt;P&gt;The purpose of this is to show the recommended Transit Time required to meet or exceed the desired On Time % (ex. 85%).&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:48:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Creating-a-table-to-display-one-recommendation/m-p/1581747#M42500</guid>
      <dc:creator>JNevil</dc:creator>
      <dc:date>2024-11-16T05:48:02Z</dc:date>
    </item>
  </channel>
</rss>

