<?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: IF in a calculated dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/IF-in-a-calculated-dimension/m-p/1618480#M734362</link>
    <description>&lt;P&gt;Dilipranjith,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks, that was close to what I needed and I was able to get it to work.&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;</description>
    <pubDate>Thu, 29 Aug 2019 17:51:20 GMT</pubDate>
    <dc:creator>meckeard</dc:creator>
    <dc:date>2019-08-29T17:51:20Z</dc:date>
    <item>
      <title>IF in a calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/IF-in-a-calculated-dimension/m-p/1618424#M734360</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have a bar chart that shows customer ages along the X axis with the count of customer with that age along the Y axis.&amp;nbsp; The dimension for this&amp;nbsp;uses a field&amp;nbsp;called Cust_Age.&amp;nbsp; That works fine but I need to only get the Cust_Age for 6 of my company locations that are in a field called Freq_BranchName.&amp;nbsp; I tried to update my dimension to a calculated Dimension like this:&lt;/P&gt;&lt;P&gt;=If(Match(Freq_BranchName, 'Blue Bell', 'Havertown', 'Lawrence Park', 'Limerick', 'Secane', 'Springfield' ), Cust_Age)&lt;/P&gt;&lt;P&gt;This didn't work.&amp;nbsp; It seemed to sum all the values for Cust_Age.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to put this logic in the "Enable Conditional" field but that made no change to my graph:&lt;/P&gt;&lt;P&gt;Match(Freq_BranchName, 'Blue Bell', 'Havertown', 'Lawrence Park', 'Limerick', 'Secane', 'Springfield' )&lt;/P&gt;&lt;P&gt;What can I do to get only Cust_Age where Freq_BranchName is equal to the 6 names above?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:36:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-in-a-calculated-dimension/m-p/1618424#M734360</guid>
      <dc:creator>meckeard</dc:creator>
      <dc:date>2024-11-16T02:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: IF in a calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/IF-in-a-calculated-dimension/m-p/1618464#M734361</link>
      <description>&lt;P&gt;in your expression use set analysis like below&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;&lt;SPAN&gt;Freq_BranchName={'Blue Bell', 'Havertown', 'Lawrence Park', 'Limerick', 'Secane', 'Springfield'}&lt;/SPAN&gt;&amp;gt;}Sales)&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2019 17:28:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-in-a-calculated-dimension/m-p/1618464#M734361</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2019-08-29T17:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: IF in a calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/IF-in-a-calculated-dimension/m-p/1618480#M734362</link>
      <description>&lt;P&gt;Dilipranjith,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks, that was close to what I needed and I was able to get it to work.&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2019 17:51:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-in-a-calculated-dimension/m-p/1618480#M734362</guid>
      <dc:creator>meckeard</dc:creator>
      <dc:date>2019-08-29T17:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: IF in a calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/IF-in-a-calculated-dimension/m-p/1618481#M734363</link>
      <description>&lt;P&gt;good to hear&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2019 17:52:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-in-a-calculated-dimension/m-p/1618481#M734363</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2019-08-29T17:52:19Z</dc:date>
    </item>
  </channel>
</rss>

