<?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: Dimensions with No Facts in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dimensions-with-No-Facts/m-p/832737#M998710</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am used =if(Only({1} IsNull(Account_line))=0,Sum(Amount)) expression, also when the suppress zero rows is checked, the multiple values issue is fixed, thanks for your direction. Also thank you for sharing the info on scramble option&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Jun 2015 20:12:59 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-06-16T20:12:59Z</dc:date>
    <item>
      <title>Dimensions with No Facts</title>
      <link>https://community.qlik.com/t5/QlikView/Dimensions-with-No-Facts/m-p/832731#M998704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to Qlikview and currently getting hold of the usage of the tool. I have a requirement where in I need to create a Straight table with Dimension and Facts. The Drawback is for certain dimensions there is no data in the fact table, Consider the example as attached. I have a accounts table with header and sub header but these records will not have corresponding data in Fact table. But i need header and sub header to be part of straight table. for this i created a resident table with max and min account_key for a particular account and used a set analysis expression Sum({1&amp;lt;account_key={"&amp;gt;=$(=MinVal)&amp;lt;=$(=max(MaxVal))"}&amp;gt;}1) to include all the records for a particular account selection. The requirement here is i do not want any number to be displayed in the header and sub header line, currently it is displayed as zero, i need a null or nothing to be displayed. I cannot generate the facts inline or insert them as i have thousands of sub header under a header and nearly 20-30 million rows needs to generated. Please suggest a way to avoid data generation and handling the same in Qlik.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am attaching the sample data and qvw.&lt;/P&gt;&lt;P&gt;Note I am using a trial version, any suggestion please paste it in the forum instead of modifying and attaching the qvw, i will not be able to open it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 15:20:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimensions-with-No-Facts/m-p/832731#M998704</guid>
      <dc:creator />
      <dc:date>2015-06-16T15:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: Dimensions with No Facts</title>
      <link>https://community.qlik.com/t5/QlikView/Dimensions-with-No-Facts/m-p/832732#M998705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use something like this for your Amount expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Account_line&amp;gt;0, Sum(Amount))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 15:51:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimensions-with-No-Facts/m-p/832732#M998705</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2015-06-16T15:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: Dimensions with No Facts</title>
      <link>https://community.qlik.com/t5/QlikView/Dimensions-with-No-Facts/m-p/832733#M998706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am sorry, i forgot to mention, i do not have facts for certain 'D' accounts too in the facts, i need those records to be displayed as Zero in the report. I have attached the modified test data and qvw. report should be as below &lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&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;Account Line&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;Acc_desc&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;Amount&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Head1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;SubHead1&lt;/TD&gt;&lt;TD style="padding: 2px;"&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;rec1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;300&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;rec2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;300&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;rec3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;300&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;6&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;rec4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;7&lt;/TD&gt;&lt;TD&gt;rec5&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 16:04:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimensions-with-No-Facts/m-p/832733#M998706</guid>
      <dc:creator />
      <dc:date>2015-06-16T16:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: Dimensions with No Facts</title>
      <link>https://community.qlik.com/t5/QlikView/Dimensions-with-No-Facts/m-p/832734#M998707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the only function with set analysis to disregard any selection for the Account line check&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(Only({1} Account_line)&amp;gt;0,Sum(Amount))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 17:04:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimensions-with-No-Facts/m-p/832734#M998707</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2015-06-16T17:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: Dimensions with No Facts</title>
      <link>https://community.qlik.com/t5/QlikView/Dimensions-with-No-Facts/m-p/832735#M998708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Account Line in my application is a text field with values as 0001,0002 etc, also if include the same in my application, where in the Account line may span across different headers, i am getting a multiple values for same line from different headers too&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 19:49:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimensions-with-No-Facts/m-p/832735#M998708</guid>
      <dc:creator />
      <dc:date>2015-06-16T19:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: Dimensions with No Facts</title>
      <link>https://community.qlik.com/t5/QlikView/Dimensions-with-No-Facts/m-p/832736#M998709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This will become difficult if the examples you post don't match your real life scenario. For text instead of numbers there is a num function or you can check the length of the string instead using the len function. That does not change the basic logic I suggested for you, check whether there is some condition whether to do the calculation or not, because the Sum function will not result in null.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you post your real application instead of a sample? If you're worried about data sensitivity, please have a look at this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-1290"&gt;Preparing examples for Upload - Reduction and Data Scrambling&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 20:12:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimensions-with-No-Facts/m-p/832736#M998709</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2015-06-16T20:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: Dimensions with No Facts</title>
      <link>https://community.qlik.com/t5/QlikView/Dimensions-with-No-Facts/m-p/832737#M998710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am used =if(Only({1} IsNull(Account_line))=0,Sum(Amount)) expression, also when the suppress zero rows is checked, the multiple values issue is fixed, thanks for your direction. Also thank you for sharing the info on scramble option&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 20:12:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimensions-with-No-Facts/m-p/832737#M998710</guid>
      <dc:creator />
      <dc:date>2015-06-16T20:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: Dimensions with No Facts</title>
      <link>https://community.qlik.com/t5/QlikView/Dimensions-with-No-Facts/m-p/832738#M998711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, great glad to be of help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 20:15:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimensions-with-No-Facts/m-p/832738#M998711</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2015-06-16T20:15:10Z</dc:date>
    </item>
  </channel>
</rss>

