<?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: Unusual Expression Parsing with // (Comment) and Line Breaks in Qlik Sense SaaS - Possible Bug? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Unusual-Expression-Parsing-with-Comment-and-Line-Breaks-in-Qlik/m-p/2521878#M106602</link>
    <description>&lt;P&gt;Hi, maybe it has something to do with he syntax after TOTAL, I'm not really sure what [GL_hub]. Is that a master item?&lt;/P&gt;&lt;P&gt;Usually after total there is only the field that has the measure, but in this case is GL_Hub and Revenue.&lt;/P&gt;&lt;P&gt;If Gl_Hub is a field to break the TOTAL, it should be between &amp;lt; and &amp;gt;, like:&amp;nbsp;Sum({$&amp;lt;Period={$(vMaxPeriod)}&amp;gt;} TOTAL &amp;lt;GL_Hub&amp;gt; Revenue)&lt;/P&gt;&lt;P&gt;I don't have any clue about the //&lt;/P&gt;</description>
    <pubDate>Sat, 21 Jun 2025 06:54:24 GMT</pubDate>
    <dc:creator>rubenmarin</dc:creator>
    <dc:date>2025-06-21T06:54:24Z</dc:date>
    <item>
      <title>Unusual Expression Parsing with // (Comment) and Line Breaks in Qlik Sense SaaS - Possible Bug?</title>
      <link>https://community.qlik.com/t5/App-Development/Unusual-Expression-Parsing-with-Comment-and-Line-Breaks-in-Qlik/m-p/2521867#M106601</link>
      <description>&lt;DIV class=""&gt;&lt;P&gt;Hello Qlik Community,&lt;/P&gt;&lt;P&gt;I've encountered a very peculiar behavior with an expression in Qlik Sense SaaS that seems to defy standard parsing rules and might indicate a bug. I'm hoping to get some insight, confirmation, or a potential explanation for this.&lt;/P&gt;&lt;P&gt;The Goal:&lt;/P&gt;&lt;P&gt;I'm trying to calculate the sum of Revenue for a specific Period defined by a variable vMaxPeriod, using the TOTAL qualifier to get a grand total (disregarding chart dimensions).&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The Working Expression (Surprisingly):&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;My expression &lt;STRONG&gt;only works&lt;/STRONG&gt; when structured exactly like this, including the // (comment) characters and specific line breaks:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;Code snippet&lt;/SPAN&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;PRE&gt;Sum({$&amp;lt;Period={$(vMaxPeriod)}&amp;gt;} //
    TOTAL [GL_Hub]
    Revenue)&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;STRONG&gt;Key Observations for the Working Expression:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;The // (comment characters) are present on the line immediately after the closing curly brace of the set analysis (}).&lt;/LI&gt;&lt;LI&gt;TOTAL [GL_Hub] and Revenue) are on separate lines, following the line with the // comment.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;STRONG&gt;The Problem: Expressions That &lt;EM&gt;Don't&lt;/EM&gt; Work (and why they should according to documentation):&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;If I remove the // comment, or if I consolidate TOTAL [GL_Hub] Revenue onto a single line after the set analysis, the expression breaks and returns an error.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Removing // (should work if // were just a comment):&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;Code snippet&lt;/SPAN&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;PRE&gt;Sum({$&amp;lt;Period={$(vMaxPeriod)}&amp;gt;}
    TOTAL [GL_Hub]
    Revenue)&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Result:&lt;/STRONG&gt; &lt;STRONG&gt;Does not work.&lt;/STRONG&gt; This suggests the // is serving a functional purpose beyond just being a comment.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Consolidating TOTAL and Field on one line (standard recommended syntax):&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;Code snippet&lt;/SPAN&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;PRE&gt;Sum({$&amp;lt;Period={$(vMaxPeriod)}&amp;gt;} TOTAL [GL_Hub] Revenue)&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Result:&lt;/STRONG&gt; &lt;STRONG&gt;Does not work.&lt;/STRONG&gt; This is particularly confusing, as this syntax (Sum({SetAnalysis} TOTAL Field)) is generally the recommended way to get a grand total with set analysis in Qlik Sense.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;STRONG&gt;My Environment:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Qlik Sense &lt;STRONG&gt;SaaS&lt;/STRONG&gt; (Cloud)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;My Question to the Community:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Has anyone else experienced this kind of behavior where a // comment seems to be functionally required for an expression to parse correctly?&lt;/LI&gt;&lt;LI&gt;Is there a documented reason for // to act as a "soft line break" or continuation marker in this specific scenario?&lt;/LI&gt;&lt;LI&gt;Is this a known bug in Qlik Sense SaaS, or am I missing a fundamental parsing rule specific to my environment?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I've verified that $(vMaxPeriod) resolves correctly to a valid period value and that [GL_Hub] Revenue is the correct field reference. The issue consistently lies with the presence/absence of // and the specific line breaks.&lt;/P&gt;&lt;P&gt;Any insights or similar experiences would be greatly appreciated!&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Will&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 21 Jun 2025 00:08:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Unusual-Expression-Parsing-with-Comment-and-Line-Breaks-in-Qlik/m-p/2521867#M106601</guid>
      <dc:creator>William_Wistam</dc:creator>
      <dc:date>2025-06-21T00:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: Unusual Expression Parsing with // (Comment) and Line Breaks in Qlik Sense SaaS - Possible Bug?</title>
      <link>https://community.qlik.com/t5/App-Development/Unusual-Expression-Parsing-with-Comment-and-Line-Breaks-in-Qlik/m-p/2521878#M106602</link>
      <description>&lt;P&gt;Hi, maybe it has something to do with he syntax after TOTAL, I'm not really sure what [GL_hub]. Is that a master item?&lt;/P&gt;&lt;P&gt;Usually after total there is only the field that has the measure, but in this case is GL_Hub and Revenue.&lt;/P&gt;&lt;P&gt;If Gl_Hub is a field to break the TOTAL, it should be between &amp;lt; and &amp;gt;, like:&amp;nbsp;Sum({$&amp;lt;Period={$(vMaxPeriod)}&amp;gt;} TOTAL &amp;lt;GL_Hub&amp;gt; Revenue)&lt;/P&gt;&lt;P&gt;I don't have any clue about the //&lt;/P&gt;</description>
      <pubDate>Sat, 21 Jun 2025 06:54:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Unusual-Expression-Parsing-with-Comment-and-Line-Breaks-in-Qlik/m-p/2521878#M106602</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2025-06-21T06:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: Unusual Expression Parsing with // (Comment) and Line Breaks in Qlik Sense SaaS - Possible Bug?</title>
      <link>https://community.qlik.com/t5/App-Development/Unusual-Expression-Parsing-with-Comment-and-Line-Breaks-in-Qlik/m-p/2521889#M106607</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/146565"&gt;@William_Wistam&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Did you try using the dimension '&amp;lt;' and '&amp;gt;' like follows and also using the TOTAL dimension before the Set Analysis ?&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Sum( &lt;STRONG&gt;TOTAL &lt;FONT color="#FF6600"&gt;&amp;lt;&lt;/FONT&gt;[GL_Hub]&lt;FONT color="#FF6600"&gt;&amp;gt;&lt;/FONT&gt;&lt;/STRONG&gt; {$&amp;lt;Period={$(vMaxPeriod)}&amp;gt;} &lt;STRONG&gt;Revenue&lt;/STRONG&gt;)&lt;/PRE&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vikram&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Jun 2025 18:18:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Unusual-Expression-Parsing-with-Comment-and-Line-Breaks-in-Qlik/m-p/2521889#M106607</guid>
      <dc:creator>vkramBI4Qlik</dc:creator>
      <dc:date>2025-06-21T18:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: Unusual Expression Parsing with // (Comment) and Line Breaks in Qlik Sense SaaS - Possible Bug?</title>
      <link>https://community.qlik.com/t5/App-Development/Unusual-Expression-Parsing-with-Comment-and-Line-Breaks-in-Qlik/m-p/2521934#M106612</link>
      <description>&lt;P&gt;Beside the already mentioned total-syntax it's not recommended to include any comments within the expressions because they are a potential source of error - especially if they are nested in any way.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jun 2025 08:44:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Unusual-Expression-Parsing-with-Comment-and-Line-Breaks-in-Qlik/m-p/2521934#M106612</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2025-06-23T08:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: Unusual Expression Parsing with // (Comment) and Line Breaks in Qlik Sense SaaS - Possible Bug?</title>
      <link>https://community.qlik.com/t5/App-Development/Unusual-Expression-Parsing-with-Comment-and-Line-Breaks-in-Qlik/m-p/2523693#M106812</link>
      <description>&lt;DIV&gt;Hi Rubenmarin, apologies for the late reply due to some personal circumstances.&amp;nbsp;&lt;SPAN&gt;Thank you for your reply and help.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;I've attached a QlikSense file with simplified data to help prove the issue—please see the screenshot.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;Example 1&lt;/STRONG&gt; shows the original expression with "//" and line breaks, which you can verify in the file.&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;Example 2&lt;/STRONG&gt; follows your suggestion with "&amp;lt;&amp;gt;" around GL_Hub, but it’s not working.&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;Example 3&lt;/STRONG&gt; uses Vikram's suggestion of moving TOTAL to the front, which also doesn’t work.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I’ve tried various combinations, but only Example 1 works, though it seems unusual. I’m using TOTAL because I need to show the user-defined revenue period regardless of the period, with the goal of calculating the delta for each period compared to the user-defined revenue period.&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="William_Wistam_1-1752095114178.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/181971i15EF1C033E90E8DE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="William_Wistam_1-1752095114178.png" alt="William_Wistam_1-1752095114178.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Will&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jul 2025 21:20:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Unusual-Expression-Parsing-with-Comment-and-Line-Breaks-in-Qlik/m-p/2523693#M106812</guid>
      <dc:creator>William_Wistam</dc:creator>
      <dc:date>2025-07-09T21:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: Unusual Expression Parsing with // (Comment) and Line Breaks in Qlik Sense SaaS - Possible Bug?</title>
      <link>https://community.qlik.com/t5/App-Development/Unusual-Expression-Parsing-with-Comment-and-Line-Breaks-in-Qlik/m-p/2523694#M106813</link>
      <description>&lt;DIV&gt;Hi Vikram, apologies for the late reply after 3 weeks due to some personal circumstances. Thank you for your help. Please refer to the message, examples, and attached QlikSense file I sent to Ruben for details on the issue and my attempts, including your suggested expression which didn’t work. I’m using TOTAL to show the user-defined revenue period regardless of the selected period, aiming to calculate the delta for each period compared to the user-defined revenue period.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Best,&lt;/DIV&gt;&lt;DIV&gt;Will&lt;/DIV&gt;</description>
      <pubDate>Wed, 09 Jul 2025 21:24:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Unusual-Expression-Parsing-with-Comment-and-Line-Breaks-in-Qlik/m-p/2523694#M106813</guid>
      <dc:creator>William_Wistam</dc:creator>
      <dc:date>2025-07-09T21:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: Unusual Expression Parsing with // (Comment) and Line Breaks in Qlik Sense SaaS - Possible Bug?</title>
      <link>https://community.qlik.com/t5/App-Development/Unusual-Expression-Parsing-with-Comment-and-Line-Breaks-in-Qlik/m-p/2523696#M106814</link>
      <description>&lt;DIV&gt;Hi Marcus, apologies for the late reply. Thank you for your help. Please refer to the message and file I sent to Ruben. I understand not to use comments "//", but removing them breaks the expression—it stops working.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Best,&lt;/DIV&gt;&lt;DIV&gt;Will&lt;/DIV&gt;</description>
      <pubDate>Wed, 09 Jul 2025 21:28:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Unusual-Expression-Parsing-with-Comment-and-Line-Breaks-in-Qlik/m-p/2523696#M106814</guid>
      <dc:creator>William_Wistam</dc:creator>
      <dc:date>2025-07-09T21:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: Unusual Expression Parsing with // (Comment) and Line Breaks in Qlik Sense SaaS - Possible Bug?</title>
      <link>https://community.qlik.com/t5/App-Development/Unusual-Expression-Parsing-with-Comment-and-Line-Breaks-in-Qlik/m-p/2523730#M106815</link>
      <description>&lt;P&gt;I don't want to exclude any parsing-bug but it seems quite unlikely to me because if nearly all common expressions wouldn't be working ...&lt;/P&gt;&lt;P&gt;... and if we look on the "not working" expression we see a result which seems to be quite correct. Therefore I assume that you are expecting a different result - probably by mistaken the functionality between an adjustment to the selection state per set analysis and adjusting the consideration of the object-dimensionalities by specifying a TOTAL statement.&lt;/P&gt;&lt;P&gt;A TOTAL ignores all relations to the dimensions of the current object - by extending it with something like &amp;lt;Field1, Field2&amp;gt; it ignores further all object-dimensions unless the extra listed ones. It's always performed against the available data-set which is specified by the set selections and/or the set adjustments within a set analysis - respectively the evaluation of the data-set comes always first.&lt;/P&gt;&lt;P&gt;In conclusion: the first expression is wrong and showed wrong results - IMO it should return always a syntax-error and not ignoring the set analysis by applying an empty comment. Maybe the direct line-break after the // "confused" the parser ... (you may play a bit with real comments like: // comment XYZ or /* abc */ to see if anything is changing - whereby like above mentioned it's not recommended to use comments within expressions - especially in regard to the efficiency of development-efforts and performance that if you would need ones that the data-model isn't suitable enough to support simple expressions).&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jul 2025 05:35:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Unusual-Expression-Parsing-with-Comment-and-Line-Breaks-in-Qlik/m-p/2523730#M106815</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2025-07-10T05:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: Unusual Expression Parsing with // (Comment) and Line Breaks in Qlik Sense SaaS - Possible Bug?</title>
      <link>https://community.qlik.com/t5/App-Development/Unusual-Expression-Parsing-with-Comment-and-Line-Breaks-in-Qlik/m-p/2523735#M106817</link>
      <description>&lt;P&gt;Hi, your 'GOOD' expression returns the same value with these expressions:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Sum({$&amp;lt;Period={$(vMaxPeriod)}&amp;gt;} //
    TOTAL SomethingThatIsAnError
	Revenue)&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Sum({$&amp;lt;Period={$(vMaxPeriod)}&amp;gt;} TOTAL Revenue)&lt;/LI-CODE&gt;&lt;P&gt;Also I don't understand your GOOD expression, it only shows the data for 202506 (1,165,164) in all the periods, It's really that what you want to show? What' are you trying to calcute by&amp;nbsp;GL_Hub?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jul 2025 06:27:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Unusual-Expression-Parsing-with-Comment-and-Line-Breaks-in-Qlik/m-p/2523735#M106817</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2025-07-10T06:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: Unusual Expression Parsing with // (Comment) and Line Breaks in Qlik Sense SaaS - Possible Bug?</title>
      <link>https://community.qlik.com/t5/App-Development/Unusual-Expression-Parsing-with-Comment-and-Line-Breaks-in-Qlik/m-p/2523829#M106824</link>
      <description>&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22593"&gt;@rubenmarin&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Thanks for the solution! Appreciate your help.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;This works for me!&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 10 Jul 2025 15:30:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Unusual-Expression-Parsing-with-Comment-and-Line-Breaks-in-Qlik/m-p/2523829#M106824</guid>
      <dc:creator>William_Wistam</dc:creator>
      <dc:date>2025-07-10T15:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: Unusual Expression Parsing with // (Comment) and Line Breaks in Qlik Sense SaaS - Possible Bug?</title>
      <link>https://community.qlik.com/t5/App-Development/Unusual-Expression-Parsing-with-Comment-and-Line-Breaks-in-Qlik/m-p/2523831#M106825</link>
      <description>&lt;DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28038"&gt;@marcus_sommer&lt;/a&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Thanks for the detailed explanation! I appreciate the clarification on how &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;TOTAL&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt; works. That was my goal using &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;TOTAL&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt; with &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;GL_Hub&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;, where &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;GL_Hub&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt; is our branch/business location—I should have renamed it to avoid confusion in the first place. The goal of &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;TOTAL &amp;lt;GL_Hub&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt; was to make the expression still responsive when a user selected a branch/location, it seems like Ruben's solution by removing &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;lt;GL_Hub&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt; from &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;TOTAL&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt; still allow the user to select the location and the number update properly which the behaviour I want, not showing the total of all locations, but a single location or multiple locations that the user selected across any period of time. For example, when the user typed 202506 in the input box, it will compare the revenue of 202506 with all other periods/months to show the increase/decrease of revenue compared to 202506 across all available periods in the dataset. Maybe I just overcomplicate what I tried to achieve, but essentially my boss wants to see how this period/month (e.g., 202506) compares to any other months. Of course, the application of this is not only limited to Period/Month, but any other comparison; the user-defined input box will allow users to set the benchmark, like setting up a goal/target, but instead of a static goal, it's a dynamic goal based on the value of the dimension that the user selected. I agree that using the &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;//&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt; (comment) is not right; I just didn't know how to fix it or remove it until I saw Ruben's last response. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Thank you! &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Will&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 10 Jul 2025 16:03:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Unusual-Expression-Parsing-with-Comment-and-Line-Breaks-in-Qlik/m-p/2523831#M106825</guid>
      <dc:creator>William_Wistam</dc:creator>
      <dc:date>2025-07-10T16:03:16Z</dc:date>
    </item>
  </channel>
</rss>

