<?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: Timeline help: hotel room booking system in Desktop</title>
    <link>https://community.fabric.microsoft.com/t5/Desktop/Timeline-help-hotel-room-booking-system/m-p/277332#M123723</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="40938" data-lia-user-login="karimk" class="lia-mention lia-mention-user"&gt;karimk&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry for the late response, please use the following schematic:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Create a calendar table (check this &lt;A href="https://community.powerbi.com/t5/Community-Blog/The-quot-only-quot-Power-BI-calendar-you-will-ever-need/ba-p/66397" target="_blank"&gt;link&lt;/A&gt;&amp;nbsp;for a more complex table) I just add a new table with the following sintax:&lt;/P&gt;&lt;PRE&gt;Calendar = CALENDAR("01/01/2017","31/12/2018")&lt;/PRE&gt;&lt;P&gt;On the calendar date add the following columns:&lt;/P&gt;&lt;PRE&gt;Week = WEEKNUM('Calendar'[Date])

Week_year = YEAR('Calendar'[Date])&amp;amp;FORMAT(WEEKNUM('Calendar'[Date]),"00")&lt;/PRE&gt;&lt;P&gt;On your occupation table create the following columns:&lt;/P&gt;&lt;PRE&gt;Start_Week = YEAR(occupation[START DATE])&amp;amp;FORMAT(WEEKNUM(occupation[START DATE]),"00")

End_week = YEAR(occupation[END DATE])&amp;amp;FORMAT(WEEKNUM(occupation[END DATE]),"00")&lt;/PRE&gt;&lt;P&gt;This will give you the star and end week for each line in your table in order to fill out your matrix.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also add this measure:&lt;/P&gt;&lt;PRE&gt;Ocupation_Dates = 
VAR Week_number =
    MAX ( 'Calendar'[Week] )
RETURN
    CALCULATE (
        MIN ( occupation[PRODUCTION] ),
        occupation[Start_Week] &amp;lt;= Week_number,
        occupation[End_week] &amp;gt;= Week_number
    )&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now that you have set up your table go and create a matrix visual (for simplification purposes I used only the last digit of the production so the matrix could be visible in full):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Matrix visual:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Rows:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Occupation Table - Building&lt;/LI&gt;&lt;LI&gt;Occupation Table - Floor&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Columns&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Calendar Table - Date (Hierarchy - Year)&lt;/LI&gt;&lt;LI&gt;Calendar&amp;nbsp;Table - Week&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Values&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Occupation Table - Occupations_Dates (measure)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Option on the matrix:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Row headers:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Stepped Layout - Off&lt;/LI&gt;&lt;LI&gt;Drill down on row and columns all the way.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;In the image below you can see the final table and also how I create the table with the setup above:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this is the result you need.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MFelix&lt;/P&gt;</description>
    <pubDate>Thu, 12 Oct 2017 22:27:18 GMT</pubDate>
    <dc:creator>MFelix</dc:creator>
    <dc:date>2017-10-12T22:27:18Z</dc:date>
    <item>
      <title>Timeline help: hotel room booking system</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Timeline-help-hotel-room-booking-system/m-p/268240#M120996</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I have a tough one. Is it possible in any way to make a timeline-like chart to show how my building are occupied during the year? Considerations:&lt;/P&gt;&lt;P&gt;-One axis shows months and weeks&lt;/P&gt;&lt;P&gt;-Another axis shows my buildings, by floor&lt;/P&gt;&lt;P&gt;-The timeline "filling" would be the teams occupying each floor&lt;/P&gt;&lt;P&gt;-I can have blank periods where no one would be using that space&lt;/P&gt;&lt;P&gt;-Preferably the name of the occupant would show on the bar filling the timeline, but we could have a sepparate table for that.&lt;/P&gt;&lt;P&gt;An example done in Excel:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2017 16:25:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Timeline-help-hotel-room-booking-system/m-p/268240#M120996</guid>
      <dc:creator>karimk</dc:creator>
      <dc:date>2017-10-04T16:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: Timeline help: hotel room booking system</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Timeline-help-hotel-room-booking-system/m-p/268257#M121004</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="40938" data-lia-user-login="karimk" class="lia-mention lia-mention-user"&gt;karimk&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can try and use the matrix visual, don't have a complete dataset example but the final result would look something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;If you want more explanations on how to achieve this if you give me a sample data I can try and make you a small guide.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MFelix&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2017 17:03:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Timeline-help-hotel-room-booking-system/m-p/268257#M121004</guid>
      <dc:creator>MFelix</dc:creator>
      <dc:date>2017-10-04T17:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: Timeline help: hotel room booking system</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Timeline-help-hotel-room-booking-system/m-p/271146#M121837</link>
      <description>&lt;P&gt;Thank you very much for the response. That pic you uploaded seems like the right direction. Would it be possible to color specific cells in the matrix? Like: AA is red, BB is blue, etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I´m uploading a pic of a simple spreadsheet with data example that should become the pic you showed. I don´t know how to upload an Excel file here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2017 22:07:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Timeline-help-hotel-room-booking-system/m-p/271146#M121837</guid>
      <dc:creator>karimk</dc:creator>
      <dc:date>2017-10-06T22:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: Timeline help: hotel room booking system</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Timeline-help-hotel-room-booking-system/m-p/271158#M121839</link>
      <description>&lt;P&gt;Hey, upload the excel file to onedrive or dropbox and just share the link. This will save the people a lot of time and also avoid typos&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2017 22:25:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Timeline-help-hotel-room-booking-system/m-p/271158#M121839</guid>
      <dc:creator>TomMartens</dc:creator>
      <dc:date>2017-10-06T22:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: Timeline help: hotel room booking system</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Timeline-help-hotel-room-booking-system/m-p/271748#M121916</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="40938" data-lia-user-login="karimk" class="lia-mention lia-mention-user"&gt;karimk&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have made my first response based on that but no sure how you have your data, can you make a copy paste of part of the table to a post or send a onedrive / google drive / wetranfer link to have a better understanding of your data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MFelix&lt;/P&gt;</description>
      <pubDate>Sat, 07 Oct 2017 15:08:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Timeline-help-hotel-room-booking-system/m-p/271748#M121916</guid>
      <dc:creator>MFelix</dc:creator>
      <dc:date>2017-10-07T15:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: Timeline help: hotel room booking system</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Timeline-help-hotel-room-booking-system/m-p/273562#M122382</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hey. Try the Escel file in the link below.&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dropbox.com/sh/czvw71jmrn7l2so/AADKdLqbpLJxHPtWtsqv1-gZa?dl=0" target="_blank"&gt;https://www.dropbox.com/sh/czvw71jmrn7l2so/AADKdLqbpLJxHPtWtsqv1-gZa?dl=0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;</description>
      <pubDate>Mon, 09 Oct 2017 20:17:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Timeline-help-hotel-room-booking-system/m-p/273562#M122382</guid>
      <dc:creator>karimk</dc:creator>
      <dc:date>2017-10-09T20:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: Timeline help: hotel room booking system</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Timeline-help-hotel-room-booking-system/m-p/277332#M123723</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="40938" data-lia-user-login="karimk" class="lia-mention lia-mention-user"&gt;karimk&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry for the late response, please use the following schematic:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Create a calendar table (check this &lt;A href="https://community.powerbi.com/t5/Community-Blog/The-quot-only-quot-Power-BI-calendar-you-will-ever-need/ba-p/66397" target="_blank"&gt;link&lt;/A&gt;&amp;nbsp;for a more complex table) I just add a new table with the following sintax:&lt;/P&gt;&lt;PRE&gt;Calendar = CALENDAR("01/01/2017","31/12/2018")&lt;/PRE&gt;&lt;P&gt;On the calendar date add the following columns:&lt;/P&gt;&lt;PRE&gt;Week = WEEKNUM('Calendar'[Date])

Week_year = YEAR('Calendar'[Date])&amp;amp;FORMAT(WEEKNUM('Calendar'[Date]),"00")&lt;/PRE&gt;&lt;P&gt;On your occupation table create the following columns:&lt;/P&gt;&lt;PRE&gt;Start_Week = YEAR(occupation[START DATE])&amp;amp;FORMAT(WEEKNUM(occupation[START DATE]),"00")

End_week = YEAR(occupation[END DATE])&amp;amp;FORMAT(WEEKNUM(occupation[END DATE]),"00")&lt;/PRE&gt;&lt;P&gt;This will give you the star and end week for each line in your table in order to fill out your matrix.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also add this measure:&lt;/P&gt;&lt;PRE&gt;Ocupation_Dates = 
VAR Week_number =
    MAX ( 'Calendar'[Week] )
RETURN
    CALCULATE (
        MIN ( occupation[PRODUCTION] ),
        occupation[Start_Week] &amp;lt;= Week_number,
        occupation[End_week] &amp;gt;= Week_number
    )&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now that you have set up your table go and create a matrix visual (for simplification purposes I used only the last digit of the production so the matrix could be visible in full):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Matrix visual:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Rows:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Occupation Table - Building&lt;/LI&gt;&lt;LI&gt;Occupation Table - Floor&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Columns&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Calendar Table - Date (Hierarchy - Year)&lt;/LI&gt;&lt;LI&gt;Calendar&amp;nbsp;Table - Week&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Values&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Occupation Table - Occupations_Dates (measure)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Option on the matrix:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Row headers:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Stepped Layout - Off&lt;/LI&gt;&lt;LI&gt;Drill down on row and columns all the way.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;In the image below you can see the final table and also how I create the table with the setup above:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this is the result you need.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MFelix&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2017 22:27:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Timeline-help-hotel-room-booking-system/m-p/277332#M123723</guid>
      <dc:creator>MFelix</dc:creator>
      <dc:date>2017-10-12T22:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: Timeline help: hotel room booking system</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Timeline-help-hotel-room-booking-system/m-p/277986#M124040</link>
      <description>&lt;P&gt;MFelix, this looks brilliant. Thank you so much for your help!!&lt;/P&gt;&lt;P&gt;Unfortunately I haven´t been able to reproduce it yet. My problem seems to be with the measure, especially with the "&amp;lt;= Week_number" and "=&amp;gt; Week_number".&lt;/P&gt;&lt;P&gt;What happens is that the matrix displays blank values.&lt;/P&gt;&lt;P&gt;Below is a pic of how I wrote the measure. Is it right?&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;If I don´t write &lt;SPAN&gt;"&amp;lt;= Week_number" and "=&amp;gt; Week_number"&lt;/SPAN&gt;, the matrix will display values, but, obviously, they are incorrect.&lt;/P&gt;&lt;P&gt;In the pic below the top matrix has a measure with no "&amp;lt;= Week_number" syntax. In the bottom matrix the measure does have the &lt;SPAN&gt;"&amp;lt;= Week_number" syntax.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below are the Dropbox links for the PowerBI file and the updated database. I will use IDs instead of text for the production names. This will help me use conditional formatting.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dropbox.com/s/jhut185fvc4dn42/TIMELINE%20MFELIX.pbix?dl=0" target="_blank"&gt;https://www.dropbox.com/s/jhut185fvc4dn42/TIMELINE%20MFELIX.pbix?dl=0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dropbox.com/s/sxw9my19rkahx6u/TIMELINE%20TEST.xlsx?dl=0" target="_blank"&gt;https://www.dropbox.com/s/sxw9my19rkahx6u/TIMELINE%20TEST.xlsx?dl=0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Besides all this, I have some questions, that if you have the time to answer it would be amazing:&lt;/P&gt;&lt;P&gt;1) Where was the Week_year column used in all this?&lt;/P&gt;&lt;P&gt;2) What is the thought process behind the measure you created?&lt;/P&gt;&lt;P&gt;3) What should I do if I want to display at the same time Year, Month and weeks, instead of the current Year and Weeks format?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much. If I´m asking too much, don´t worry. I´ll try to solve this another way. You have already helped a lot.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2017 14:56:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Timeline-help-hotel-room-booking-system/m-p/277986#M124040</guid>
      <dc:creator>karimk</dc:creator>
      <dc:date>2017-10-13T14:56:31Z</dc:date>
    </item>
    <item>
      <title>Re: Timeline help: hotel room booking system</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Timeline-help-hotel-room-booking-system/m-p/277990#M124041</link>
      <description>&lt;P&gt;I just want to say that I solved my question 3) from the bottom of my reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2017 15:03:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Timeline-help-hotel-room-booking-system/m-p/277990#M124041</guid>
      <dc:creator>karimk</dc:creator>
      <dc:date>2017-10-13T15:03:35Z</dc:date>
    </item>
    <item>
      <title>Re: Timeline help: hotel room booking system</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Timeline-help-hotel-room-booking-system/m-p/278041#M124074</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="40938" data-lia-user-login="karimk" class="lia-mention lia-mention-user"&gt;karimk&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ansewring on question 1 and on the problem you have, I have made an error on the formula&amp;nbsp; were&amp;nbsp; we put Calendar[Week] should be [Week_Year] below is the corrected measure I have made the copy before finalizing my formula, sorry&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Ocupation_Dates = 
VAR Week_number =
    MAX ( 'Calendar'[Week_Year] )
RETURN
    CALCULATE (
        MIN ( occupation[PRODUCTION] ),
        occupation[Start_Week] &amp;lt;= Week_number,
        occupation[End_week] &amp;gt;= Week_number
    )&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So this solves your issue of blank values in matrix and respond to your first question the Week_Year column is how I define the start and stop on the matrix values&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thougt process:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The measure are based on context so when you add the columns (dates) and the Rows (buildings) all the calculations will be made with the "crossing" of the information of rows and columns.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The variable Week number makes a context validation within the matrix and returns that column week number by year&lt;/P&gt;&lt;P&gt;On the calculate I choose the Production value at the Year/month/week choosen and at the building. So based on that what the formula does is to compare the Week Number on the Column and check if the Start Week is higher than that and the End week is lower so based on that returns the values of the Production.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MFelix&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2017 16:00:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Timeline-help-hotel-room-booking-system/m-p/278041#M124074</guid>
      <dc:creator>MFelix</dc:creator>
      <dc:date>2017-10-13T16:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: Timeline help: hotel room booking system</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Timeline-help-hotel-room-booking-system/m-p/278100#M124100</link>
      <description>&lt;P&gt;You solved it!&amp;nbsp;Thank you very much!!!&lt;/P&gt;&lt;P&gt;The only thing that I´m missing now, but I think it´s a matter of Power BI functionality, is to have more coloring options with conditional formatting.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;IF the Production Name is anything between 1800 and 2299 -&amp;gt; Red. If it´s between 1000 and 1799 -&amp;gt; Gray. If it´s between 3000 and 4000 -&amp;gt; purple.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Well. Thanks!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2017 17:46:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Timeline-help-hotel-room-booking-system/m-p/278100#M124100</guid>
      <dc:creator>karimk</dc:creator>
      <dc:date>2017-10-13T17:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: Timeline help: hotel room booking system</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Timeline-help-hotel-room-booking-system/m-p/278143#M124113</link>
      <description>Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="40938" data-lia-user-login="karimk" class="lia-mention lia-mention-user"&gt;karimk&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;The condittional option only.works.with numbers not text so uf you keep the PRODUCTION1 it will not return condittional option also it.don't work with 3 options.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;MFelix</description>
      <pubDate>Fri, 13 Oct 2017 19:03:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Timeline-help-hotel-room-booking-system/m-p/278143#M124113</guid>
      <dc:creator>MFelix</dc:creator>
      <dc:date>2017-10-13T19:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: Timeline help: hotel room booking system</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Timeline-help-hotel-room-booking-system/m-p/278316#M124221</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="40938" data-lia-user-login="karimk" class="lia-mention lia-mention-user"&gt;karimk&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;don'ts know if this solve your issue but you can always link a unichar to your code and then use it in your measure and you will have a production number and a symbol connected to your data:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Occupation with symbol: =
SWITCH (
    TRUE (),
    occupation[Ocupation_Dates] = BLANK (), BLANK (),
    [Ocupation_Dates] &amp;gt;= 1
        &amp;amp;&amp;amp; [Ocupation_Dates] &amp;lt;= 2, occupation[Ocupation_Dates] &amp;amp; UNICHAR ( 9971 ),
    [Ocupation_Dates] &amp;gt;= 3
        &amp;amp;&amp;amp; [Ocupation_Dates] &amp;lt;= 4, occupation[Ocupation_Dates] &amp;amp; UNICHAR ( 9977 ),
    occupation[Ocupation_Dates] &amp;amp; UNICHAR ( 9978 )
)&lt;/PRE&gt;&lt;P&gt;Again for this I used the last number in the Production column to make it easier.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For getting the UNICODE characters go to this&amp;nbsp;&lt;A href="http://www.rapidtables.com/code/text/unicode-characters.htm" target="_blank"&gt;link&lt;/A&gt;&amp;nbsp;and use the HTML code for each character you need.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just trying to think outside the box not sur if this is what you want.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MFelix&lt;/P&gt;</description>
      <pubDate>Sat, 14 Oct 2017 15:20:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Timeline-help-hotel-room-booking-system/m-p/278316#M124221</guid>
      <dc:creator>MFelix</dc:creator>
      <dc:date>2017-10-14T15:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: Timeline help: hotel room booking system</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Timeline-help-hotel-room-booking-system/m-p/281684#M125391</link>
      <description>&lt;P&gt;Would this unicode approach work if the production was a text, instead of a number?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Oct 2017 13:46:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Timeline-help-hotel-room-booking-system/m-p/281684#M125391</guid>
      <dc:creator>karimk</dc:creator>
      <dc:date>2017-10-18T13:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: Timeline help: hotel room booking system</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Timeline-help-hotel-room-booking-system/m-p/281801#M125454</link>
      <description>&lt;P&gt;Sure I just placed a number to facilitate you need to adjust the formula to your request.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have a sample of the values you wish to include?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can do a quick change to the formula.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MFelix&lt;/P&gt;</description>
      <pubDate>Wed, 18 Oct 2017 16:37:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Timeline-help-hotel-room-booking-system/m-p/281801#M125454</guid>
      <dc:creator>MFelix</dc:creator>
      <dc:date>2017-10-18T16:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: Timeline help: hotel room booking system</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Timeline-help-hotel-room-booking-system/m-p/282989#M125864</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The Dropbox link below has an Excel file with a sample database.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dropbox.com/s/j3c0y69gebrpwzz/TIMELINE%20TEST3.xlsx?dl=0" target="_self"&gt;https://www.dropbox.com/s/j3c0y69gebrpwzz/TIMELINE%20TEST3.xlsx?dl=0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically I would like to put a colored unicode next to each "PRODUCTION" name on the timeline, based on it´s "GÊNERO".&lt;/P&gt;&lt;P&gt;The GÊNERO-color relation is on the "UNICODE REF" sheet.&lt;/P&gt;&lt;P&gt;The unicode image would have to be as neutral as possible (a rectangule, for example).&lt;/P&gt;&lt;P&gt;Is this possible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much for still helping.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2017 17:06:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Timeline-help-hotel-room-booking-system/m-p/282989#M125864</guid>
      <dc:creator>karimk</dc:creator>
      <dc:date>2017-10-19T17:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: Timeline help: hotel room booking system</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Timeline-help-hotel-room-booking-system/m-p/283764#M126148</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="40938" data-lia-user-login="karimk" class="lia-mention lia-mention-user"&gt;karimk&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try this measure, again you can choose the unicode character on&amp;nbsp;&lt;A href="http://www.rapidtables.com/code/text/unicode-characters.htm" target="_self"&gt;link&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Occupation with symbol: =
SWITCH (
    TRUE (),
    occupation[Ocupation_Dates] = BLANK (), BLANK (),
    VALUES ( occupation[GÊNERO] ) = "Dramaturgia Diária", occupation[Ocupation_Dates] &amp;amp; UNICHAR ( 9650 ),
    VALUES ( occupation[GÊNERO] ) = "Dramaturgia Semanal", occupation[Ocupation_Dates] &amp;amp; UNICHAR ( 9724 ),
    VALUES ( occupation[GÊNERO] ) = "Escritorial", occupation[Ocupation_Dates] &amp;amp; UNICHAR ( 9670 ),
    VALUES ( occupation[GÊNERO] ) = "Variedades Diária", occupation[Ocupation_Dates] &amp;amp; UNICHAR ( 9677 ),
    VALUES ( occupation[GÊNERO] ) = "Variedades Noite", occupation[Ocupation_Dates] &amp;amp; UNICHAR ( 9608 ),
    occupation[Ocupation_Dates]
)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Regards,&lt;/P&gt;&lt;P&gt;MFelix&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2017 09:41:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Timeline-help-hotel-room-booking-system/m-p/283764#M126148</guid>
      <dc:creator>MFelix</dc:creator>
      <dc:date>2017-10-20T09:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: Timeline help: hotel room booking system</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Timeline-help-hotel-room-booking-system/m-p/289201#M127271</link>
      <description>&lt;P&gt;Hi. Thanks a lot.&lt;/P&gt;&lt;P&gt;I can´t get colored unicodes. It seems so because I have Windows 7. I´m looking into other options.&lt;/P&gt;&lt;P&gt;Is it possible to do the same kind of measure you did, but instead of unicode, an image from a URL?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2017 17:51:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Timeline-help-hotel-room-booking-system/m-p/289201#M127271</guid>
      <dc:creator>karimk</dc:creator>
      <dc:date>2017-10-24T17:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: Timeline help: hotel room booking system</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Timeline-help-hotel-room-booking-system/m-p/289726#M127506</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="40938" data-lia-user-login="karimk" class="lia-mention lia-mention-user"&gt;karimk&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can do this with image URL however the part of the name will not be available URL images can only be displayed with URL and not composed formulas.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MFelix&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2017 09:17:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Timeline-help-hotel-room-booking-system/m-p/289726#M127506</guid>
      <dc:creator>MFelix</dc:creator>
      <dc:date>2017-10-25T09:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: Timeline help: hotel room booking system</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Timeline-help-hotel-room-booking-system/m-p/293721#M129537</link>
      <description>&lt;P&gt;And now an evolution of the solution you gave me:&lt;/P&gt;&lt;P&gt;Is it possible to also give blank spaces of time (with no production value) a "value"? My goal is to filter a specific date and have it show me all the blank spaces, so I can be sure where I can alocate a production.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2017 17:56:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Timeline-help-hotel-room-booking-system/m-p/293721#M129537</guid>
      <dc:creator>karimk</dc:creator>
      <dc:date>2017-10-31T17:56:01Z</dc:date>
    </item>
  </channel>
</rss>

