<?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 Right expression? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Right-expression/m-p/598667#M1109282</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a column Product with values Soaps Dove, Soaps Caramel, Soaps Lux, Soaps Santhoor, Detergents XX,Detergents YY,Detergents DDFDG .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would need to show the count of IDs which will start only with Soaps in dimension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension: =IF(WildMatch(Product,'Soaps*'),Product)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression: Count(Distinct(ID))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I doubt whether the expression is correct or not could anyone suggest me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Mar 2014 14:47:35 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-03-04T14:47:35Z</dc:date>
    <item>
      <title>Right expression?</title>
      <link>https://community.qlik.com/t5/QlikView/Right-expression/m-p/598667#M1109282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a column Product with values Soaps Dove, Soaps Caramel, Soaps Lux, Soaps Santhoor, Detergents XX,Detergents YY,Detergents DDFDG .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would need to show the count of IDs which will start only with Soaps in dimension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension: =IF(WildMatch(Product,'Soaps*'),Product)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression: Count(Distinct(ID))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I doubt whether the expression is correct or not could anyone suggest me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 14:47:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Right-expression/m-p/598667#M1109282</guid>
      <dc:creator />
      <dc:date>2014-03-04T14:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: Right expression?</title>
      <link>https://community.qlik.com/t5/QlikView/Right-expression/m-p/598668#M1109284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;count(distinct {&amp;lt;Product = {'Soaps*'}&amp;gt;}ID)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 14:50:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Right-expression/m-p/598668#M1109284</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2014-03-04T14:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: Right expression?</title>
      <link>https://community.qlik.com/t5/QlikView/Right-expression/m-p/598669#M1109286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. It is showing 'Error in calculated condition'. sorry if I am wrong.I don't want to change expression instead want to change dimension.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 14:54:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Right-expression/m-p/598669#M1109286</guid>
      <dc:creator />
      <dc:date>2014-03-04T14:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: Right expression?</title>
      <link>https://community.qlik.com/t5/QlikView/Right-expression/m-p/598670#M1109288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could just use Product as the dimension and Count({&amp;lt;Product={"Soaps*"}&amp;gt;} Distinct ID) as the expression. For the dimension, set the checkbox for suppress nulls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: I try to avoid calculated dimensions where possible. This is a case that will perform better with a fixed dimension and a filtered expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 14:54:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Right-expression/m-p/598670#M1109288</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2014-03-04T14:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: Right expression?</title>
      <link>https://community.qlik.com/t5/QlikView/Right-expression/m-p/598671#M1109290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. Can I use this as dimension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(WildMatch(Product,'Soaps*'),Product)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 14:57:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Right-expression/m-p/598671#M1109290</guid>
      <dc:creator />
      <dc:date>2014-03-04T14:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: Right expression?</title>
      <link>https://community.qlik.com/t5/QlikView/Right-expression/m-p/598672#M1109293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 15:02:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Right-expression/m-p/598672#M1109293</guid>
      <dc:creator />
      <dc:date>2014-03-04T15:02:16Z</dc:date>
    </item>
  </channel>
</rss>

