<?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: Displaying shift plan in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Displaying-shift-plan/m-p/1440416#M513817</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi tim&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your effort. Looks amazing! This will help me a lot. One last question: Wehre did you definde the Event which changes the shifts? I can't find it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Oct 2017 17:31:27 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-10-31T17:31:27Z</dc:date>
    <item>
      <title>Displaying shift plan</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-shift-plan/m-p/1440412#M513813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Dear Community&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to display a part of a shift plan. The data looks like this:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="shift_Data.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/181024_shift_Data.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;So I have three different "shift-types", 4F, 4M, and 4S. Each date (day) can have 0..n shifts always assigned to one person (PERS_NAME_VOLL). I added the duration field as 1 for each data set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not yet sure how to display this. So far I think a pivot table would work best, however, it has its restriction. This is what I came up with:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="pivot.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/181056_pivot.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;The names on the left, then all three shift types each day. What I don't really like:&lt;/P&gt;&lt;P&gt;You can't really "separate" each day with a bold line or something like that. Also, I would to change the background color of the fields:&lt;/P&gt;&lt;P&gt;I'll define a varibale: LET v4F = '2';&amp;nbsp; -&amp;gt; Meaning: Each day has to have at least two 4F Shifts. If this is the case, to Total row should have a Green background, if not then it should be red. &lt;/P&gt;&lt;P&gt;If the total amount of shifts is met, all the 1 values should have a green background, the 0 values a grey background. If the total amount of shifts is not met, all the 1 values should have a green background, all the 0 values a red background. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have currently three expressions with set analysis instead of a Shift Type dimension:&lt;IMG alt="expressions.png" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/181058_expressions.png" style="height: 163px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is just because that way I can set the background color per expression and this might make it easier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone a better idea how to display this? And is the "background color thing" even possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and best Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2017 13:20:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-shift-plan/m-p/1440412#M513813</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-26T13:20:38Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying shift plan</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-shift-plan/m-p/1440413#M513814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think the separator will be possible, but may be add a blank 4th expression...and color it all black to give a somewhat separator feel. Also, color should be possible using if statement&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2017 14:31:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-shift-plan/m-p/1440413#M513814</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-10-26T14:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying shift plan</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-shift-plan/m-p/1440414#M513815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;!Attached a short document that should do what you request.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The "Seperator" Column is an additional 4th expression, there is no way in Qlik to change the line between some columns.&amp;nbsp; I use the "|" as item to show in each line, looks a bit like the seperator columns in good old times where we used Matrix printers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The color part is a bit more tricky, I included the default numbers per shift into the model as a field, not as variables.&amp;nbsp; Doing this, you could use it in the background color definition of the expression.&amp;nbsp; The default numbers could be changed (Inputfield).&amp;nbsp; As the fields in your Data with no shift assignment are Null values, the could not be selected in the pivot table as well it's difficult to assign the background color.&amp;nbsp; I added in the script a part to fill all possible fields with "0" if missed, so that there is a a value in every cell of your pivot.&amp;nbsp; Doing this, clicking on the pivot will change the status auf a person in a shift, triggered by a selection event.&amp;nbsp; Maybe you could use this in your project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit by moderator:&lt;/P&gt;&lt;P&gt;Please attach a document directly to a post instead of uploading as a separate document. You can do so using the "attach" option. To find that option, click on "Use advanced editor" in to the-right when writing a reply.&lt;/P&gt;&lt;P&gt;I made the correction to this post for you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Oct 2017 18:51:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-shift-plan/m-p/1440414#M513815</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-29T18:51:42Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying shift plan</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-shift-plan/m-p/1440415#M513816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;what if you use a simple blank like this &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;if(Dienststart.Code_Nr=0,'&amp;nbsp; ', Sum(Dienststart.Duration)) this doesn't serve the purpose ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2017 09:29:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-shift-plan/m-p/1440415#M513816</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2017-10-30T09:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying shift plan</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-shift-plan/m-p/1440416#M513817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi tim&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your effort. Looks amazing! This will help me a lot. One last question: Wehre did you definde the Event which changes the shifts? I can't find it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Oct 2017 17:31:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-shift-plan/m-p/1440416#M513817</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-31T17:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying shift plan</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-shift-plan/m-p/1440417#M513818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Stefan,&lt;/P&gt;&lt;P&gt;I just used a document event trigger -&amp;gt; OnAnySelect, using the UPDATE function with an if statement and a variable containg the number of selected shift/person combination.&amp;nbsp; After update, release the selection just made by BACK action.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Oct 2017 17:43:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-shift-plan/m-p/1440417#M513818</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-31T17:43:59Z</dc:date>
    </item>
  </channel>
</rss>

