<?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: Expressions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expressions/m-p/1650423#M593543</link>
    <description>&lt;P&gt;the example is not clear, can you please provide a sample of data and the expected behavior&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 24 Nov 2019 10:24:27 GMT</pubDate>
    <dc:creator>Yousef_Amarneh</dc:creator>
    <dc:date>2019-11-24T10:24:27Z</dc:date>
    <item>
      <title>Expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions/m-p/1650415#M593542</link>
      <description>&lt;P&gt;Hi, Everybody, would you please let me know , how to set an expression to use it for different cells.&lt;/P&gt;&lt;P&gt;for Example,&lt;/P&gt;&lt;P&gt;i am going to take the 2 first digits of a column and multiply it to 10.&lt;/P&gt;&lt;P&gt;My Table is&amp;nbsp;&lt;/P&gt;&lt;P&gt;Row, CA,CB,CC&lt;/P&gt;&lt;P&gt;1,1480,2020,2223&lt;/P&gt;&lt;P&gt;2, 1458,2021,2224&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;i need a variable like followings:&lt;/P&gt;&lt;P&gt;Let vTwodig=Left (x,2)*10&lt;/P&gt;&lt;P&gt;x= any column CA,CB,CC and ....&lt;/P&gt;&lt;P&gt;I want to define a new column (CD) the expression which i like to use some thing like following:&lt;/P&gt;&lt;P&gt;vTwodig CC&lt;/P&gt;&lt;P&gt;and next column CE:&lt;/P&gt;&lt;P&gt;Vtwodig CD&lt;/P&gt;&lt;P&gt;Best Wishes&lt;/P&gt;</description>
      <pubDate>Sun, 24 Nov 2019 05:29:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions/m-p/1650415#M593542</guid>
      <dc:creator>Hamid_Reza_Rashidi</dc:creator>
      <dc:date>2019-11-24T05:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions/m-p/1650423#M593543</link>
      <description>&lt;P&gt;the example is not clear, can you please provide a sample of data and the expected behavior&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 24 Nov 2019 10:24:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions/m-p/1650423#M593543</guid>
      <dc:creator>Yousef_Amarneh</dc:creator>
      <dc:date>2019-11-24T10:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions/m-p/1650427#M593544</link>
      <description>Dear Yousef, Thanks for considering my case. This simple sample is for selecting two left digits of all rows of a column by 10. as i want to apply this formula to many columns, can i define a variable to have all things fixed expect the column hope i make i clear. if it is not clear, please let me know to provide more information.</description>
      <pubDate>Sun, 24 Nov 2019 10:54:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions/m-p/1650427#M593544</guid>
      <dc:creator>Hamid_Reza_Rashidi</dc:creator>
      <dc:date>2019-11-24T10:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions/m-p/1650584#M593545</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Hi, thanks for your reply&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;please do check the following sample.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let &amp;nbsp;x=left(y,2)&lt;/P&gt;&lt;P&gt;"y" is one of my column in a table.&lt;/P&gt;&lt;P&gt;if i writ the formula the same as followings:&lt;/P&gt;&lt;P&gt;Let &amp;nbsp;x=left(,2)&lt;/P&gt;&lt;P&gt;can i use varible x to calculate the 2 left digits of column z. (=Left(z,2))&amp;nbsp;&lt;/P&gt;&lt;P&gt;= x (Z),&lt;/P&gt;&lt;P&gt;the the answer be the same as = left(Z,2),&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2019 10:29:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions/m-p/1650584#M593545</guid>
      <dc:creator>Hamid_Reza_Rashidi</dc:creator>
      <dc:date>2019-11-25T10:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions/m-p/1655511#M593546</link>
      <description>&lt;P&gt;Hamid, maybe a dumb question on my part, but have you considered doing things in the load script instead of via expression and creating that value as its own field in the data load?&amp;nbsp; I too am having trouble grasping what it is you are really trying to accomplish with things, and I know you have now tried twice to clarify things, but it is still not really making much sense.&lt;/P&gt;
&lt;P&gt;I think if you shift this to the load script it may be much easier, as you can take that field during the load and load it twice, once as it is, but then you can do the transformation on the next line doing your left function on it, and multiplying if need be etc.&amp;nbsp; This way everything is tied into the rest of the data model.&amp;nbsp; Sorry I do not have anything better, but if you can further clarify the use case etc. and again, you may need to supply a screenshot or something of what you have as far as data and what you are trying to obtain, that will likely help folks visualize things a lot better.&amp;nbsp; Apologies I do not have anything better for you.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2019 15:06:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions/m-p/1655511#M593546</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-12-09T15:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions/m-p/1655559#M593547</link>
      <description>&lt;P&gt;Also see apparent duplicate post:&amp;nbsp;&lt;A href="https://community.qlik.com/t5/New-to-QlikView/expression/m-p/1650462#M383865" target="_blank"&gt;https://community.qlik.com/t5/New-to-QlikView/expression/m-p/1650462#M383865&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2019 16:18:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions/m-p/1655559#M593547</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-12-09T16:18:00Z</dc:date>
    </item>
  </channel>
</rss>

