<?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: Set analysis include all values but modifier is excluding null entries. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-include-all-values-but-modifier-is-excluding-null/m-p/1718823#M455581</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for your help, but sadly it appears to still be excluding the entries with a null branch.&lt;/P&gt;</description>
    <pubDate>Mon, 15 Jun 2020 12:28:27 GMT</pubDate>
    <dc:creator>Monkeyb33f</dc:creator>
    <dc:date>2020-06-15T12:28:27Z</dc:date>
    <item>
      <title>Set analysis include all values but modifier is excluding null entries.</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-include-all-values-but-modifier-is-excluding-null/m-p/1718790#M455579</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I'm struggling with some set analysis on ledger entries - it might be quite an easy solution, but I haven't been able to sort it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have two tables, LedgerEntries and LedgerBranch. Unfortunately, not all LedgerEntries have a corresponding LedgeBranch, but the analysis I am attempting to do is as follows in two expressions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;[Ledger Entry Type]={'DEBIT'},[Ledger Branch Name]-={'Online'}&amp;gt;}[Ledger Amount])&lt;/P&gt;&lt;P&gt;&amp;amp;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;[Ledger Entry Type]={'CREDIT'},[Ledger Branch Name]-={'Online'}&amp;gt;}[Ledger Amount])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This works to an extent, but it is ignoring all the entries where Ledger Branch Name is null. I've attempted to use isnull() but this is invalid in set analysis. I essentially just want to sum of ALL entries, where the Branch Name isn't Online. As you may have guessed, Ledger Branch Name exists in the LedgerBranch table, and the Ledger Amount &amp;amp; Ledger Entry Type exist in the LedgerEntries table.&lt;/P&gt;&lt;P&gt;Can anyone help?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:28:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-include-all-values-but-modifier-is-excluding-null/m-p/1718790#M455579</guid>
      <dc:creator>Monkeyb33f</dc:creator>
      <dc:date>2024-11-16T00:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis include all values but modifier is excluding null entries.</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-include-all-values-but-modifier-is-excluding-null/m-p/1718819#M455580</link>
      <description>&lt;P&gt;maybe this:&lt;BR /&gt;&lt;SPAN&gt;Sum( {&amp;lt; [Ledger Entry Type] = {'CREDIT'}, [Ledger Branch Name] = {"*"}&amp;nbsp; - {'Online'} &amp;gt;} [Ledger Amount] )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I hope it can helps.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jun 2020 12:21:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-include-all-values-but-modifier-is-excluding-null/m-p/1718819#M455580</guid>
      <dc:creator>agigliotti</dc:creator>
      <dc:date>2020-06-15T12:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis include all values but modifier is excluding null entries.</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-include-all-values-but-modifier-is-excluding-null/m-p/1718823#M455581</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for your help, but sadly it appears to still be excluding the entries with a null branch.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jun 2020 12:28:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-include-all-values-but-modifier-is-excluding-null/m-p/1718823#M455581</guid>
      <dc:creator>Monkeyb33f</dc:creator>
      <dc:date>2020-06-15T12:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis include all values but modifier is excluding null entries.</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-include-all-values-but-modifier-is-excluding-null/m-p/1718831#M455582</link>
      <description>&lt;P&gt;yes it does, i'm sorry there was a misunderstanding.&lt;BR /&gt;let's try:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sum( {&amp;lt; [Ledger Entry Type] = {'CREDIT'} &amp;gt;} if( [Ledger Branch Name] &amp;lt;&amp;gt; 'Online', [Ledger Amount] ) )&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jun 2020 13:02:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-include-all-values-but-modifier-is-excluding-null/m-p/1718831#M455582</guid>
      <dc:creator>agigliotti</dc:creator>
      <dc:date>2020-06-15T13:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis include all values but modifier is excluding null entries.</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-include-all-values-but-modifier-is-excluding-null/m-p/1718835#M455583</link>
      <description>&lt;P&gt;Brill - works exactly like i'd hoped. Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jun 2020 13:20:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-include-all-values-but-modifier-is-excluding-null/m-p/1718835#M455583</guid>
      <dc:creator>Monkeyb33f</dc:creator>
      <dc:date>2020-06-15T13:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis include all values but modifier is excluding null entries.</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-include-all-values-but-modifier-is-excluding-null/m-p/1718841#M455584</link>
      <description>&lt;P&gt;Hi ...&amp;nbsp;&lt;/P&gt;&lt;DIV class="post-content"&gt;&lt;STRONG&gt;&lt;SPAN&gt;Set Analysis&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;P&gt;QlikView has a feature called SET ANALYSIS that directs us a way to add context to a dashboard. When we make selections on certain variables, the changes will be reflected in the entire application.&lt;/P&gt;&lt;P&gt;Set analysis is an extremely powerful feature of &lt;A href="https://mindmajix.com/qlikview-training" target="_blank" rel="noopener"&gt;QlikView&lt;/A&gt;, and it’s important that QlikView developers have some exposure to it, and eventually a thorough understanding of set analysis. Set analysis is a powerful tool for comparison. This section serves as an overview of set analysis and a suggestion to explore this feature in greater detail.&lt;/P&gt;&lt;STRONG&gt;Set Analysis Syntax:&lt;/STRONG&gt;&lt;P&gt;Set expressions are always contained in curly brackets:&lt;/P&gt;&lt;P&gt;{ }&lt;/P&gt;&lt;P&gt;A set expression can contain the following elements:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;set identifier&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;set operators&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;set modifier&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;1. Set Identifier&lt;P&gt;The basic element in a set analysis statement is a set identifier. The term identifier refers to identifying the active set. The set identifier is the state of the data set, and is the first element in the set statement (after the curly brackets). The syntax used is as follows, for example, the sum of sales:&lt;/P&gt;&lt;P&gt;Sum ({set identifier} &amp;nbsp; sales)&lt;/P&gt;&lt;P&gt;There are four common set identifier options:&lt;/P&gt;&lt;P&gt;* {$}: this option designates the current selection set (the default set). An example that shows the sum of sales for the current selection:&lt;/P&gt;&lt;P&gt;Sum ( {$} sales)&lt;/P&gt;&lt;P&gt;* {1}: this option indicates the full set, ignores the current selection, and considers all data. An example that shows the sum of sales for all data:&lt;/P&gt;&lt;P&gt;Sum ( {1} &amp;nbsp; sales)&lt;/P&gt;&lt;P&gt;* {any book mark}: this option indicates a bookmark (named anything) selection set. An example that shows the sum of sales for the selections saved with the bookmark named 2006 sales:&lt;/P&gt;&lt;P&gt;Sum &amp;nbsp;({2006 sales} &amp;nbsp;sales)&lt;/P&gt;&lt;P&gt;* {$1}: this option designates the previous selection set. Note that the expression &amp;nbsp;{$0} is the current selection and {$-1} is the forward selection (if a user clicked on the back button). An example that shows the sum of sales for the previous selections:&lt;/P&gt;&lt;DIV&gt;&lt;DIV class="row course-widget"&gt;Explore Curriculum&lt;/DIV&gt;&lt;DIV class="clearfix"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;Sum( {$1} &amp;nbsp;sales)&lt;/P&gt;&lt;P&gt;* {$-1}: this option designates the forward selection set.&lt;/P&gt;&lt;P&gt;Read More:&amp;nbsp;&lt;A href="https://mindmajix.com/learn-set-analysis-syntaxes-examples-in-qlikview" target="_blank" rel="noopener"&gt;SET Analysis Syntaxes, Examples in QlikView&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I Hope This Information Definitely Helpful for you&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in Advance&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lavanya Sreepada&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 15 Jun 2020 13:27:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-include-all-values-but-modifier-is-excluding-null/m-p/1718841#M455584</guid>
      <dc:creator>Lavanyasreepada</dc:creator>
      <dc:date>2020-06-15T13:27:38Z</dc:date>
    </item>
  </channel>
</rss>

