<?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 flag type data expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/flag-type-data-expression/m-p/1010125#M342841</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="text-align: left;"&gt;&lt;BR /&gt;Hi&lt;/P&gt;&lt;P style="text-align: left;"&gt;i have two data feeds into qlikview; one is actual theatre data the other is the session data.&lt;/P&gt;&lt;P style="text-align: left;"&gt;they all link together to report what actually went on in each session.&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;i have consultant fields in both; but the consultant in the actual data might not be the consultant whose session it was; and also there could be two consultants that perform in one session.&lt;/P&gt;&lt;P style="text-align: left;"&gt;So i have to use session consultant to get me the performance within a session.&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;I am calculating the % of time spent within a session but i need to view this by session consultant - becuase I am calculating anaestetic times recorded in the actual data i cannot view this sum by the session consultant - is there a way i can?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;expression:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;((&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(AnaesDurationFromStart)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;))/&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(SessionDuration_Used)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Oct 2015 16:21:59 GMT</pubDate>
    <dc:creator>qliklizzy</dc:creator>
    <dc:date>2015-10-19T16:21:59Z</dc:date>
    <item>
      <title>flag type data expression</title>
      <link>https://community.qlik.com/t5/QlikView/flag-type-data-expression/m-p/1010125#M342841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="text-align: left;"&gt;&lt;BR /&gt;Hi&lt;/P&gt;&lt;P style="text-align: left;"&gt;i have two data feeds into qlikview; one is actual theatre data the other is the session data.&lt;/P&gt;&lt;P style="text-align: left;"&gt;they all link together to report what actually went on in each session.&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;i have consultant fields in both; but the consultant in the actual data might not be the consultant whose session it was; and also there could be two consultants that perform in one session.&lt;/P&gt;&lt;P style="text-align: left;"&gt;So i have to use session consultant to get me the performance within a session.&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;I am calculating the % of time spent within a session but i need to view this by session consultant - becuase I am calculating anaestetic times recorded in the actual data i cannot view this sum by the session consultant - is there a way i can?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;expression:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;((&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(AnaesDurationFromStart)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;))/&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(SessionDuration_Used)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2015 16:21:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/flag-type-data-expression/m-p/1010125#M342841</guid>
      <dc:creator>qliklizzy</dc:creator>
      <dc:date>2015-10-19T16:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: flag type data expression</title>
      <link>https://community.qlik.com/t5/QlikView/flag-type-data-expression/m-p/1010126#M342842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you share the actual structure of the tables involved? Some sample lines from each would also be very helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a first hint you might benefit from having three tables: Theatre (dimension), Session (fact) and Consultant (dimension).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should be able to retrieve anaesthetic times even if they are in the Theatre dimension without problem. QlikView's associative functionality will do that as long as you link the two tables correctly with a key field. The key field should be TheatreID. You might have several rows in your Session (fact) table for each session. How to link the Session to consultant should be via a field you could name ConsultantID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lastly using $() in the expression is probably not the right thing for you to do - if you are trying to refer to fields. Unless you have the field names stored in two variables...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2015 16:58:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/flag-type-data-expression/m-p/1010126#M342842</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-10-19T16:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: flag type data expression</title>
      <link>https://community.qlik.com/t5/QlikView/flag-type-data-expression/m-p/1010127#M342843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks i have shrunk and scambled my app hope i havent shurnk it too much?&lt;/P&gt;&lt;P&gt;the dimensions are linked by sessionID, im not very good with all this dimension stuff; i cant see how it all links to pull it through correctly&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, 20 Oct 2015 08:06:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/flag-type-data-expression/m-p/1010127#M342843</guid>
      <dc:creator>qliklizzy</dc:creator>
      <dc:date>2015-10-20T08:06:49Z</dc:date>
    </item>
  </channel>
</rss>

