<?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: To Find CrossBooked Function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/To-Find-CrossBooked-Function/m-p/1292817#M624524</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Nov 2016 09:52:34 GMT</pubDate>
    <dc:creator>MK_QSL</dc:creator>
    <dc:date>2016-11-23T09:52:34Z</dc:date>
    <item>
      <title>To Find CrossBooked Function</title>
      <link>https://community.qlik.com/t5/QlikView/To-Find-CrossBooked-Function/m-p/1292811#M624518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Qlikers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a scenario where I have a master data containing Function and the Area the function is mapped to.&lt;/P&gt;&lt;P&gt;I have a resource data which has resources booked their hours against the Functions they are part to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to find how many fuction are crossbooked ? For Ex.&lt;/P&gt;&lt;P&gt;in, Master table: Function A can only be mapped to Area 'ADAD' and 'ODOD'&lt;/P&gt;&lt;P&gt;however, in Resource data, A resource has filled his hours against Function A in Area 'ADAD', 'ODOD' and 'MODI'&lt;/P&gt;&lt;P&gt;In this case, the no. of hours booked under Function A for Area 'MODI' will be called Crossbooked hours&lt;/P&gt;&lt;P&gt;'lly, Also need to get in the result&lt;/P&gt;&lt;P&gt;1) No. of function crossbooked (in case of shared excel, the correct answer would be 2)&lt;/P&gt;&lt;P&gt;2) Count. of resources crossbooked&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried with creating a common key approach and then matching the key. I am not getting the result.&lt;/P&gt;&lt;P&gt;Attached is the sample excel file for the above scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Request your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ankur&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2016 17:10:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-Find-CrossBooked-Function/m-p/1292811#M624518</guid>
      <dc:creator>ankurakash</dc:creator>
      <dc:date>2016-11-22T17:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: To Find CrossBooked Function</title>
      <link>https://community.qlik.com/t5/QlikView/To-Find-CrossBooked-Function/m-p/1292812#M624519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try the attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2016 05:20:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-Find-CrossBooked-Function/m-p/1292812#M624519</guid>
      <dc:creator />
      <dc:date>2016-11-23T05:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: To Find CrossBooked Function</title>
      <link>https://community.qlik.com/t5/QlikView/To-Find-CrossBooked-Function/m-p/1292813#M624520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Sunil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The crossbooked hours are coming correctly. Thanks. however when i verified the correct hours column, it don't have the correct numbers as per the shared xcel. Also, is it possible to display correct hours as 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the function field(dim) to be transposed under which, if correct hours(display 'X') or crossbooked hours 'display numbers'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ankur&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2016 07:03:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-Find-CrossBooked-Function/m-p/1292813#M624520</guid>
      <dc:creator>ankurakash</dc:creator>
      <dc:date>2016-11-23T07:03:31Z</dc:date>
    </item>
    <item>
      <title>Re: To Find CrossBooked Function</title>
      <link>https://community.qlik.com/t5/QlikView/To-Find-CrossBooked-Function/m-p/1292814#M624521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My bad for correct hours , i labelled it incorrectly, it was total hours. Do you want to display a character 'X' only in correct hours no numerical values?&lt;/P&gt;&lt;P&gt;if this is the scenario then have a look in attachment. I have transposed the function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2016 07:18:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-Find-CrossBooked-Function/m-p/1292814#M624521</guid>
      <dc:creator />
      <dc:date>2016-11-23T07:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: To Find CrossBooked Function</title>
      <link>https://community.qlik.com/t5/QlikView/To-Find-CrossBooked-Function/m-p/1292815#M624522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also,&lt;/P&gt;&lt;P&gt;I am matching the source data and master data based on key by creating key1 and key2. And not with the checkcolumn because it may not work in all the scenarios.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;however my approach of matching key from both the tables is not working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2016 07:51:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-Find-CrossBooked-Function/m-p/1292815#M624522</guid>
      <dc:creator>ankurakash</dc:creator>
      <dc:date>2016-11-23T07:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: To Find CrossBooked Function</title>
      <link>https://community.qlik.com/t5/QlikView/To-Find-CrossBooked-Function/m-p/1292816#M624523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please tell me the case where it will not work or send me your app or the script so i can have a look into it why it is not working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2016 09:51:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-Find-CrossBooked-Function/m-p/1292816#M624523</guid>
      <dc:creator />
      <dc:date>2016-11-23T09:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: To Find CrossBooked Function</title>
      <link>https://community.qlik.com/t5/QlikView/To-Find-CrossBooked-Function/m-p/1292817#M624524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2016 09:52:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-Find-CrossBooked-Function/m-p/1292817#M624524</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2016-11-23T09:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: To Find CrossBooked Function</title>
      <link>https://community.qlik.com/t5/QlikView/To-Find-CrossBooked-Function/m-p/1292818#M624525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried with this below logic and it worked well. Your idea influenced me to get the desired result.&lt;/P&gt;&lt;P&gt;I did the following:&lt;/P&gt;&lt;P&gt;MainTable:&lt;BR /&gt;LOAD &lt;BR /&gt;&amp;nbsp; Function&amp;amp;Area as Key,&lt;BR /&gt;&amp;nbsp; ResId, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ResName, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ResCategory, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hours,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Function,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Area&amp;nbsp;&amp;nbsp; &lt;BR /&gt;FROM&lt;BR /&gt;[Sample Mapping Table.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is ResourceData);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left join (MainTable)&lt;BR /&gt;LOAD &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Area as CheckColumn,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Function&amp;amp;Area as Key&lt;BR /&gt;FROM&lt;BR /&gt;[Sample Mapping Table.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is [Master Table], filters(&lt;BR /&gt;Remove(Row, Pos(Top, 2)),&lt;BR /&gt;Remove(Row, Pos(Top, 1)),&lt;BR /&gt;Remove(Row, Pos(Top, 8))&lt;BR /&gt;));&lt;/P&gt;&lt;P&gt;Final:&lt;BR /&gt;NoConcatenate&lt;BR /&gt;Load&lt;BR /&gt;*,&lt;BR /&gt;IF(Key1=Key2, 'X',Hours) as Crossbookedhours&lt;BR /&gt;Resident&lt;BR /&gt;MainTable;&lt;/P&gt;&lt;P&gt;Drop Table MainTable;&lt;/P&gt;&lt;P&gt;In Pivot table I did this:&lt;BR /&gt;Dim: Function ; Dim: Area(Transposed)&lt;BR /&gt;Exp: IF(Sum(Crossbookedhours) = 0, 'X', Sum(Crossbookedhours))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your support and timely help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ankur&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2016 12:49:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-Find-CrossBooked-Function/m-p/1292818#M624525</guid>
      <dc:creator>ankurakash</dc:creator>
      <dc:date>2016-11-23T12:49:12Z</dc:date>
    </item>
  </channel>
</rss>

