<?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: Straight Table with Dimensions and Expressions Missing Data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Straight-Table-with-Dimensions-and-Expressions-Missing-Data/m-p/1276502#M400873</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your response you are totally correct.&amp;nbsp; I have tried the expression you provided and there is more than one value. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I overcame this by adding the unique id to the dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for helping &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Nov 2016 16:03:20 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-11-18T16:03:20Z</dc:date>
    <item>
      <title>Straight Table with Dimensions and Expressions Missing Data</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-with-Dimensions-and-Expressions-Missing-Data/m-p/1276500#M400871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a straight table with both dimensions and expressions in it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 5 dimensions and 15 expressions.&amp;nbsp; This is because the table is long and I wanted a horizontal scroll bar, and could not see any other way to achieve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The straight table is to display only orders which have taken place.&amp;nbsp; These records have an order flag attached to them.&amp;nbsp; If the order was processed, the flag is 1 or if it wasnt processed, it is 0.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expressions I have in each of the 15 expressions is :&amp;nbsp; &lt;STRONG&gt;if(Sum (orderflag)&amp;gt;0, [columnname] ,0) &lt;/STRONG&gt; This formula is to only display the columname e.g. addressline if the orderflag is &amp;gt;0 This is the same format for all expressions e.g. &lt;STRONG&gt;if(Sum (orderflag)&amp;gt;0, AddressLine2 ,0) , &lt;STRONG&gt;if(Sum (orderflag)&amp;gt;0, City ,0) , &lt;STRONG&gt;if(Sum (orderflag)&amp;gt;0, PostCode ,0) ,&lt;STRONG&gt;if(Sum (orderflag)&amp;gt;0, TelNo,0)&amp;nbsp; &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;etc&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The problem I am having is that for some reason some expressions are displaying a dash like this '&amp;nbsp; -&amp;nbsp; ' when the orderflag = 1&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Initially I thought there must be missing data from the dataset, but when I create a table box with all the required fields listed, there is data appearing which should be appearing in the straight table as a value rather than '&amp;nbsp; -&amp;nbsp; '.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The funny thing is, if I click on the record in question from the table box, it correctly appears in the straight table!&amp;nbsp; When I delete the table box, it reverts back to '&amp;nbsp; -&amp;nbsp; '. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also when I generate a backend SQL query, the data is also there, so it must be something to do with my expression.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would anyone have an idea of what is happening?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, I am unable to share the qvd due to client confidentiality.&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;Thanks&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2016 15:03:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-with-Dimensions-and-Expressions-Missing-Data/m-p/1276500#M400871</guid>
      <dc:creator />
      <dc:date>2016-11-18T15:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table with Dimensions and Expressions Missing Data</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-with-Dimensions-and-Expressions-Missing-Data/m-p/1276501#M400872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you see a dash then there are most likely several different values. If you don't explicitly use an aggregation function then the Only() function is used. And that can only return a value as a result if there is only one possible value. To test this theory try for example this expression: concat({&amp;lt;orderflag={1}&amp;gt;} TelNo, ', '). If you get a comma separated list of values then you know there are multiple values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2016 15:22:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-with-Dimensions-and-Expressions-Missing-Data/m-p/1276501#M400872</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-11-18T15:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table with Dimensions and Expressions Missing Data</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-with-Dimensions-and-Expressions-Missing-Data/m-p/1276502#M400873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your response you are totally correct.&amp;nbsp; I have tried the expression you provided and there is more than one value. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I overcame this by adding the unique id to the dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for helping &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2016 16:03:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-with-Dimensions-and-Expressions-Missing-Data/m-p/1276502#M400873</guid>
      <dc:creator />
      <dc:date>2016-11-18T16:03:20Z</dc:date>
    </item>
  </channel>
</rss>

