<?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 Straight Table Expression Help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Straight-Table-Expression-Help/m-p/1731133#M452288</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have to create two straight table/table box with the below requirement.&lt;BR /&gt;My qvd has all the columns Project_name,Task,Amount and many more. Amount is a floating point number and i can have values like 0.00,but I want to ignore those as well&amp;nbsp; in my expression.&amp;nbsp; I don't need to do any sum of Amount. Just need to show the data as is but with the below condition.&lt;BR /&gt;Can you please help me with the set expression that I will need to write in the Straight Table expression to replace the below two sql queries.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;1st Table:&lt;/STRONG&gt;&lt;BR /&gt;Select Project_name,Task,Amount&lt;BR /&gt;where Project_name is &lt;STRONG&gt;null&lt;/STRONG&gt; and Amount&amp;lt;&amp;gt;0&lt;BR /&gt;order by Project_name,Task&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2nd Table:&lt;/STRONG&gt;&lt;BR /&gt;Select Project_name,Task,Amount&lt;BR /&gt;where Task is&amp;nbsp; &lt;STRONG&gt;null&lt;/STRONG&gt; and Amount&amp;lt;&amp;gt;0&lt;BR /&gt;order by Project_name,Task&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;BR /&gt;Regards&lt;BR /&gt;Ankhi&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 00:15:02 GMT</pubDate>
    <dc:creator>Ankhi</dc:creator>
    <dc:date>2024-11-16T00:15:02Z</dc:date>
    <item>
      <title>Straight Table Expression Help</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-Expression-Help/m-p/1731133#M452288</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have to create two straight table/table box with the below requirement.&lt;BR /&gt;My qvd has all the columns Project_name,Task,Amount and many more. Amount is a floating point number and i can have values like 0.00,but I want to ignore those as well&amp;nbsp; in my expression.&amp;nbsp; I don't need to do any sum of Amount. Just need to show the data as is but with the below condition.&lt;BR /&gt;Can you please help me with the set expression that I will need to write in the Straight Table expression to replace the below two sql queries.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;1st Table:&lt;/STRONG&gt;&lt;BR /&gt;Select Project_name,Task,Amount&lt;BR /&gt;where Project_name is &lt;STRONG&gt;null&lt;/STRONG&gt; and Amount&amp;lt;&amp;gt;0&lt;BR /&gt;order by Project_name,Task&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2nd Table:&lt;/STRONG&gt;&lt;BR /&gt;Select Project_name,Task,Amount&lt;BR /&gt;where Task is&amp;nbsp; &lt;STRONG&gt;null&lt;/STRONG&gt; and Amount&amp;lt;&amp;gt;0&lt;BR /&gt;order by Project_name,Task&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;BR /&gt;Regards&lt;BR /&gt;Ankhi&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:15:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-Expression-Help/m-p/1731133#M452288</guid>
      <dc:creator>Ankhi</dc:creator>
      <dc:date>2024-11-16T00:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table Expression Help</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-Expression-Help/m-p/1731193#M452294</link>
      <description>&lt;P&gt;Assuming that all 3 columns make a unique records then try below&lt;/P&gt;&lt;P&gt;For table 1, create straight table.&amp;nbsp;You can change the sort order in Sort tab&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dimensions:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;1)&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;Project_name&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2)&amp;nbsp;=if(len(trim(&lt;SPAN&gt;Project_name&lt;/SPAN&gt;))=0,Task,null())&amp;nbsp; &amp;nbsp;----&amp;gt;&amp;nbsp; check 'suppress when value is null' option for this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Expression:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;if(Amt&amp;gt;0,Amt,0)&amp;nbsp; ---&amp;gt; Make sure that 'suppress zero values' option checked in presentation&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For table 2, create straight table. You can change the sort order in Sort tab&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dimensions:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;1)&amp;nbsp; Project_Name&lt;/P&gt;&lt;P&gt;=if(len(trim(Task))=0,&lt;SPAN&gt;Project_name&lt;/SPAN&gt;,null())&amp;nbsp; -------&amp;gt;check 'suppress when value is null' option for this&lt;/P&gt;&lt;P&gt;2) Task&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Expression:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;if(Amt&amp;gt;0,Amt,0)&amp;nbsp; ---&amp;gt; Make sure that 'suppress zero values' option checked in presentation&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jul 2020 21:25:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-Expression-Help/m-p/1731193#M452294</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-07-27T21:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table Expression Help</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-Expression-Help/m-p/1731365#M452304</link>
      <description>&lt;P&gt;Hi Kush,&lt;/P&gt;&lt;P&gt;Thanks for replying. Sorry I think I should have explained it a bit more. Below is the data that I have in QVD.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;P6_Prj_No&amp;nbsp; &amp;nbsp;P6_Prj_Name&amp;nbsp; &amp;nbsp; &amp;nbsp; Ora_proj_Num&amp;nbsp; &amp;nbsp;Task_num&amp;nbsp; &amp;nbsp;Level1&amp;nbsp; &amp;nbsp; &amp;nbsp;Level2&amp;nbsp; &amp;nbsp; Level3&amp;nbsp; &amp;nbsp; Cost_Remaining&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;P6_123&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Allension_Main&amp;nbsp; &amp;nbsp;EB_321&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 033.01&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;C&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AR&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;D&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 100&lt;/P&gt;&lt;P&gt;P6_234&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; XYZ&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 033.01&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;X&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AR&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Y&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 200&lt;/P&gt;&lt;P&gt;P6_543&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ABC&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;033.02&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;X&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AR&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; F&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;P6_789&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CDC&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;EB_123&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;B&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AR&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Z&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;300&lt;/P&gt;&lt;P&gt;P6_765&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;LXD&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; E&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AR&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Q&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;P6_989&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;PTT&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;L&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AR&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; M&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;400&lt;/P&gt;&lt;P&gt;Now in my 1st Straight table , I want to only show data which has not got Ora_Proj_Num and Cost_Remaining &amp;gt;0&lt;/P&gt;&lt;P&gt;i.e.&lt;/P&gt;&lt;P&gt;Only P6_234(2nd row) should be returned.&amp;nbsp; and Task_num is not required in this table. Similarly in the 2nd straight table&amp;nbsp;&lt;/P&gt;&lt;P&gt;I only want to show data related to P6_989(last row) as this is the one which does not have a task_num but has a cost. This table does not need Ora_Proj_Num.&lt;/P&gt;&lt;P&gt;Also in both these strt tables I want to set a filter of Level2 in (AR,SR). Not sure exactly where I should that do.&lt;/P&gt;&lt;P&gt;Hope&amp;nbsp; I have been able to explain my requirement.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ankhi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2020 12:14:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-Expression-Help/m-p/1731365#M452304</guid>
      <dc:creator>Ankhi</dc:creator>
      <dc:date>2020-07-28T12:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table Expression Help</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-Expression-Help/m-p/1734958#M452555</link>
      <description>&lt;P&gt;I believe this is going to require Set Analysis, so the following posts should put you on the right track in that case:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/A-Primer-on-Set-Analysis/ba-p/1468344" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/A-Primer-on-Set-Analysis/ba-p/1468344&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Set-Analysis-in-the-Aggr-function/ba-p/1463822" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Set-Analysis-in-the-Aggr-function/ba-p/1463822&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/April2020/Subsystems/Client/Content/QV_QlikView/ChartFunctions/SetAnalysis/set-analysis-expressions.htm" target="_blank"&gt;https://help.qlik.com/en-US/qlikview/April2020/Subsystems/Client/Content/QV_QlikView/ChartFunctions/SetAnalysis/set-analysis-expressions.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Tue, 11 Aug 2020 18:31:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-Expression-Help/m-p/1734958#M452555</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-08-11T18:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table Expression Help</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-Expression-Help/m-p/1735067#M452559</link>
      <description>&lt;P&gt;Can you upload your data in Excel format?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Aug 2020 02:59:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-Expression-Help/m-p/1735067#M452559</guid>
      <dc:creator>Saravanan_Desingh</dc:creator>
      <dc:date>2020-08-12T02:59:31Z</dc:date>
    </item>
  </channel>
</rss>

