<?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 statement in expression using a calculated dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/if-statement-in-expression-using-a-calculated-dimension/m-p/1313617#M408028</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have just scambled all the data, as its identifiable to patients. - i had to detele evertthing else in the app to make sure i could send the size over.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 May 2017 15:00:44 GMT</pubDate>
    <dc:creator>qliklizzy</dc:creator>
    <dc:date>2017-05-22T15:00:44Z</dc:date>
    <item>
      <title>if statement in expression using a calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement-in-expression-using-a-calculated-dimension/m-p/1313611#M408022</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;I have this dimension calculation which just groups two specialties together:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CurrentSpec&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='ENDOC' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;or&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CurrentSpec&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='DIAB','DIAB/ENDOC',&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CurrentSpec&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;then in an expression I need to allocate a number of beds to the specialty:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;but it is not recognising my calculated dimension so i added the calucation back in but it still wont alocated a number to thtat combined specialty.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;(i did have &lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CurrentSpec&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='ENDOC' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;or&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; 'DIAB','21',&amp;nbsp; but this also didnt work)&lt;/SPAN&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;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CurrentSpec&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='ENDOC' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;or&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CurrentSpec&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='DIAB','DIAB/ENDOC',&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CurrentSpec&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)='DAIB/ENDCO','21',&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CurrentSpec&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='CARD','18',&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CurrentSpec&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='ELM','52',&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CurrentSpec&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='GASTRO','28',&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CurrentSpec&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='RESPMED','26',0))))) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;is there a way of doing this other than maybe combining the speicalties in the script; but its always good to see them seperate in the raw data.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;thanks for you help&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2017 13:52:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement-in-expression-using-a-calculated-dimension/m-p/1313611#M408022</guid>
      <dc:creator>qliklizzy</dc:creator>
      <dc:date>2017-05-22T13:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: if statement in expression using a calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement-in-expression-using-a-calculated-dimension/m-p/1313612#M408023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=if(Match(CurrentSpec, 'ENDOC', 'DIAB'), 'DIAB/ENDOC',CurrentSpec)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(Match(CurrentSpec, 'ENDOC', 'DIAB'), 21,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;if(CurrentSpec='CARD', 18,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;if(CurrentSpec='ELM', 52,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;if(CurrentSpec='GASTRO', 28,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;if(CurrentSpec='RESPMED', 26, 0)))))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2017 13:55:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement-in-expression-using-a-calculated-dimension/m-p/1313612#M408023</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-05-22T13:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: if statement in expression using a calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement-in-expression-using-a-calculated-dimension/m-p/1313613#M408024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or this as your expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Pick(Match(CurrentSpec,&amp;nbsp; 'ENDOC', 'DIAB', 'CARD', 'ELM', 'GASTRO', 'RESPMED') + 1, 0, 21, 21, 18, 52, 28, 26)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2017 13:56:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement-in-expression-using-a-calculated-dimension/m-p/1313613#M408024</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-05-22T13:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: if statement in expression using a calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement-in-expression-using-a-calculated-dimension/m-p/1313614#M408025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks tried this and its still not populating for it.&lt;/P&gt;&lt;P&gt;i see you have posted again i will try that now&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2017 14:10:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement-in-expression-using-a-calculated-dimension/m-p/1313614#M408025</guid>
      <dc:creator>qliklizzy</dc:creator>
      <dc:date>2017-05-22T14:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: if statement in expression using a calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement-in-expression-using-a-calculated-dimension/m-p/1313615#M408026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no just for that combined specialty it doesnt allocate it.&lt;/P&gt;&lt;P&gt;how bizarre&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for trying &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt; i have learned a new expression 'pick'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2017 14:14:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement-in-expression-using-a-calculated-dimension/m-p/1313615#M408026</guid>
      <dc:creator>qliklizzy</dc:creator>
      <dc:date>2017-05-22T14:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: if statement in expression using a calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement-in-expression-using-a-calculated-dimension/m-p/1313616#M408027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share a sample where this isn't working for you?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2017 14:19:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement-in-expression-using-a-calculated-dimension/m-p/1313616#M408027</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-05-22T14:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: if statement in expression using a calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement-in-expression-using-a-calculated-dimension/m-p/1313617#M408028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have just scambled all the data, as its identifiable to patients. - i had to detele evertthing else in the app to make sure i could send the size over.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2017 15:00:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement-in-expression-using-a-calculated-dimension/m-p/1313617#M408028</guid>
      <dc:creator>qliklizzy</dc:creator>
      <dc:date>2017-05-22T15:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: if statement in expression using a calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement-in-expression-using-a-calculated-dimension/m-p/1313618#M408029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have section access? I am unable to open the file&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2017 15:02:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement-in-expression-using-a-calculated-dimension/m-p/1313618#M408029</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-05-22T15:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: if statement in expression using a calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement-in-expression-using-a-calculated-dimension/m-p/1313619#M408030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry i dont know what that means?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2017 15:04:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement-in-expression-using-a-calculated-dimension/m-p/1313619#M408030</guid>
      <dc:creator>qliklizzy</dc:creator>
      <dc:date>2017-05-22T15:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: if statement in expression using a calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement-in-expression-using-a-calculated-dimension/m-p/1313620#M408031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its a type of security. You can read about it here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-1853"&gt;Introduction to Section Access&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2017 15:06:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement-in-expression-using-a-calculated-dimension/m-p/1313620#M408031</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-05-22T15:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: if statement in expression using a calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement-in-expression-using-a-calculated-dimension/m-p/1313621#M408032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks, i will have a further read on this when i have some more time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We had some external suppliers help with the set up of these apps - i dont think i want to mess around with security without properly reading up on it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for all your help, &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2017 15:19:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement-in-expression-using-a-calculated-dimension/m-p/1313621#M408032</guid>
      <dc:creator>qliklizzy</dc:creator>
      <dc:date>2017-05-22T15:19:05Z</dc:date>
    </item>
  </channel>
</rss>

