<?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 Transform weekly data into hourly data in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Transform-weekly-data-into-hourly-data/m-p/2359129#M60209</link>
    <description>&lt;P&gt;So the situation is as follows, I have weekly records of events and i want to make it hourly, logically every hour will have the same value, that corresponds to the whole week, but i need it to be hourly so i can plot it with other hourly data i have. Any ideas on what to do? I tried creating a table having the specified beginning and ending dates i need and every hour of these days, but i am not able to copy the data from the other tble that contains the weekly data, i dont know how to use dax for it, am i missing something? Is there a easy way to do it?&lt;/P&gt;</description>
    <pubDate>Thu, 24 Feb 2022 15:06:16 GMT</pubDate>
    <dc:creator>artp3642</dc:creator>
    <dc:date>2022-02-24T15:06:16Z</dc:date>
    <item>
      <title>Transform weekly data into hourly data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Transform-weekly-data-into-hourly-data/m-p/2359129#M60209</link>
      <description>&lt;P&gt;So the situation is as follows, I have weekly records of events and i want to make it hourly, logically every hour will have the same value, that corresponds to the whole week, but i need it to be hourly so i can plot it with other hourly data i have. Any ideas on what to do? I tried creating a table having the specified beginning and ending dates i need and every hour of these days, but i am not able to copy the data from the other tble that contains the weekly data, i dont know how to use dax for it, am i missing something? Is there a easy way to do it?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Feb 2022 15:06:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Transform-weekly-data-into-hourly-data/m-p/2359129#M60209</guid>
      <dc:creator>artp3642</dc:creator>
      <dc:date>2022-02-24T15:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: Transform weekly data into hourly data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Transform-weekly-data-into-hourly-data/m-p/2359361#M60224</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="361470" data-lia-user-login="artp3642" class="lia-mention lia-mention-user"&gt;artp3642&lt;/a&gt; , Assume you have data with week end date , some number &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;create a date table with week end date ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hour Table = generateseries(1,24,1)&lt;/P&gt;
&lt;P&gt;generate(filter( generate(summarize(Date, date[Date], Date[D WeeK end Date]), Table) , [Week End Date] = [D WeeK end Date]),[Hour Table])&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if needed divide the value column by 7*24 to allocate&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Feb 2022 17:02:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Transform-weekly-data-into-hourly-data/m-p/2359361#M60224</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-02-24T17:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: Transform weekly data into hourly data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Transform-weekly-data-into-hourly-data/m-p/2359646#M60249</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so first i create a table clalled hour/-table and then create a column using the followeing expression?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;generate(filter( generate(summarize(Date, date[Date], Date[D WeeK end Date]), Table) , [Week End Date] = [D WeeK end Date]),[Hour Table])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I didnt understand what Date in the first argument mean, is it a table, or what, and neither Table as the last argument&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Feb 2022 20:20:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Transform-weekly-data-into-hourly-data/m-p/2359646#M60249</guid>
      <dc:creator>artp3642</dc:creator>
      <dc:date>2022-02-24T20:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: Transform weekly data into hourly data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Transform-weekly-data-into-hourly-data/m-p/2359655#M60250</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;would you please clarify what exactly the formula, it is a bit confusing for me, many thanks in advance&lt;/P&gt;</description>
      <pubDate>Thu, 24 Feb 2022 20:28:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Transform-weekly-data-into-hourly-data/m-p/2359655#M60250</guid>
      <dc:creator>artp3642</dc:creator>
      <dc:date>2022-02-24T20:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: Transform weekly data into hourly data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Transform-weekly-data-into-hourly-data/m-p/2366107#M60567</link>
      <description>&lt;P&gt;Hi&amp;nbsp; &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="361470" data-lia-user-login="artp3642" class="lia-mention lia-mention-user"&gt;artp3642&lt;/a&gt;&amp;nbsp;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am sorry i couldn't entirely understand what does your weekly record look like and hourly look like?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;generate(filter( generate(summarize(Date, date[Date], Date[D WeeK end Date]), Table) , [Week End Date] = [D WeeK end Date]),[Hour Table])&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The first Date means a table. It is the first argument of &lt;A href="https://docs.microsoft.com/en-us/dax/summarize-function-dax" target="_blank" rel="noopener"&gt;summarize().&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Actually, you can create a Date table contains&amp;nbsp;Year,Month,Day, Weeknum,Hour. Then create&amp;nbsp;a relationship between Date table and Fact table, which is one to many and depended on Date/time column.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;By this code:&lt;/P&gt;
&lt;DIV&gt;Date = GENERATESERIES(DATE(2022,1,1),DATE(2022,12,31),TIME(1,0,0))&lt;/DIV&gt;
&lt;DIV&gt;&lt;img /&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Model:&lt;/DIV&gt;
&lt;DIV&gt;&lt;img /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then you can plot with other hourly date.&lt;/P&gt;
&lt;/DIV&gt;
&lt;DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Pbix in the end you can refer.&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;Community Support Team _ chenwu zhu&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 01 Mar 2022 03:11:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Transform-weekly-data-into-hourly-data/m-p/2366107#M60567</guid>
      <dc:creator>v-chenwuz-msft</dc:creator>
      <dc:date>2022-03-01T03:11:48Z</dc:date>
    </item>
  </channel>
</rss>

