<?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 Exprsion in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Exprsion/m-p/1063613#M924986</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Iam using the below expression . which has an error&lt;/P&gt;&lt;P&gt;I know that in set analysis we cannot use left side a variable&amp;nbsp; , but is there any other wat to handle this ? because this is giving me an error . please find the&amp;nbsp; screen shot &lt;IMG __jive_id="122119" alt="Eprsn.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/122119_Eprsn.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Count(&lt;/P&gt;&lt;P&gt;&amp;nbsp; {$&amp;lt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; $(vBS_Sales_Map_Left) = $(vBS_Sales_Map_Right),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Hierarchy = P(Hierarchy_S),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Date = {"&amp;gt;=$(StartDate)&amp;lt;=$(EndDate)"}&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;gt;} Dummy_Closed_Sale_Lead_UID_AllCat_Count_LSM&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Count(&lt;/P&gt;&lt;P&gt;&amp;nbsp; {$&amp;lt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; $(vBS_Dashboard_Sales_Left) = $(vBS_Dashboard_Sales_Right),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Hierarchy = P(Hierarchy_S),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Date = {"&amp;gt;=$(StartDate)&amp;lt;=$(EndDate)"}&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;gt;} Dummy_Closed_Sale_Lead_UID_AllCat_Count_LSM&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can some one please rectify this...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>smilingjohn</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Exprsion</title>
      <link>https://community.qlik.com/t5/QlikView/Exprsion/m-p/1063613#M924986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Iam using the below expression . which has an error&lt;/P&gt;&lt;P&gt;I know that in set analysis we cannot use left side a variable&amp;nbsp; , but is there any other wat to handle this ? because this is giving me an error . please find the&amp;nbsp; screen shot &lt;IMG __jive_id="122119" alt="Eprsn.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/122119_Eprsn.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Count(&lt;/P&gt;&lt;P&gt;&amp;nbsp; {$&amp;lt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; $(vBS_Sales_Map_Left) = $(vBS_Sales_Map_Right),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Hierarchy = P(Hierarchy_S),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Date = {"&amp;gt;=$(StartDate)&amp;lt;=$(EndDate)"}&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;gt;} Dummy_Closed_Sale_Lead_UID_AllCat_Count_LSM&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Count(&lt;/P&gt;&lt;P&gt;&amp;nbsp; {$&amp;lt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; $(vBS_Dashboard_Sales_Left) = $(vBS_Dashboard_Sales_Right),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Hierarchy = P(Hierarchy_S),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Date = {"&amp;gt;=$(StartDate)&amp;lt;=$(EndDate)"}&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;gt;} Dummy_Closed_Sale_Lead_UID_AllCat_Count_LSM&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can some one please rectify this...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exprsion/m-p/1063613#M924986</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Exprsion</title>
      <link>https://community.qlik.com/t5/QlikView/Exprsion/m-p/1063614#M924988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try creating the &lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vBS_Dashboard_Sales_Left values in the script as a calculated field or a inline table and then you could use the same in the front end &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2016 05:37:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exprsion/m-p/1063614#M924988</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2016-04-20T05:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: Exprsion</title>
      <link>https://community.qlik.com/t5/QlikView/Exprsion/m-p/1063615#M924990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Avinash , again the contenet with the variables is a variable which has conditions , which cannot be written in the script , Is there no other way to manipulate this expression ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2016 05:47:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exprsion/m-p/1063615#M924990</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2016-04-20T05:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: Exprsion</title>
      <link>https://community.qlik.com/t5/QlikView/Exprsion/m-p/1063616#M924992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;could you please share the expression you have written in the variables ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2016 05:51:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exprsion/m-p/1063616#M924992</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2016-04-20T05:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: Exprsion</title>
      <link>https://community.qlik.com/t5/QlikView/Exprsion/m-p/1063617#M924994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Avinash ,&lt;/P&gt;&lt;P&gt;This is the expression under the variable&amp;nbsp; " $(vBS_Sales_Map_Left)&amp;nbsp;&amp;nbsp; "&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;P&gt;if &lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;&amp;nbsp; Current_Level = 5,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 'S_O',&lt;/P&gt;&lt;P&gt;&amp;nbsp; if &lt;/P&gt;&lt;P&gt;&amp;nbsp; (&lt;/P&gt;&lt;P&gt;&amp;nbsp; Current_Level = 3,&lt;/P&gt;&lt;P&gt; &lt;SPAN style="font-size: 13.3333px;"&gt; 'District_S_O',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; if &lt;/P&gt;&lt;P&gt;&amp;nbsp; (&lt;/P&gt;&lt;P&gt;&amp;nbsp; Current_Level = 2,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'District_S_O',&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'Region_S_O'&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And expression under " $(vBS_Dashboard_Sales_Left) "&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;P&gt;if &lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;&amp;nbsp; Current_Level = 5,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'S_O',&lt;/P&gt;&lt;P&gt;&amp;nbsp; if &lt;/P&gt;&lt;P&gt;&amp;nbsp; (&lt;/P&gt;&lt;P&gt;&amp;nbsp; Current_Level = 3,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'District_S_O',&lt;/P&gt;&lt;P&gt;&amp;nbsp; if &lt;/P&gt;&lt;P&gt;&amp;nbsp; (&lt;/P&gt;&lt;P&gt;&amp;nbsp; Current_Level = 2,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'Region_S_O',&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'S_O'&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both the variables have almost same expression &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2016 05:56:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exprsion/m-p/1063617#M924994</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2016-04-20T05:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: Exprsion</title>
      <link>https://community.qlik.com/t5/QlikView/Exprsion/m-p/1063618#M924996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could try like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Current_Level,&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vBS_Sales_Map_Left,&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vBS_Dashboard_Sales_Left&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;5,&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;S_O,&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;S_O&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;3,&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;District_S_O,&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;District_S_O&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;2,&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;District_S_O,&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Region_S_O&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;4,&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Region_S_O,&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;S_O&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;1,&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Region_S_O,&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;S_O&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So automatically the fields will get linked in the model , so now you can replace the left hand side with the new field names created in the script i.e &lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vBS_Sales_Map_Left,&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vBS_Dashboard_Sales_Left&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2016 06:06:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exprsion/m-p/1063618#M924996</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2016-04-20T06:06:16Z</dc:date>
    </item>
  </channel>
</rss>

