How to create a Time Table to analyze your Power BI or Excel data

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ก.ค. 2024
  • If you want to know how to analyze your data by hour, minute, half hour etc in Power BI or Excel Power Pivot then I will show you how to build your own Time Table and how to round your data to the nearest minute 🔽 More Info below 🔽
    00:00 Intro
    00:29 Explaining the data and goal
    01:35 Splitting Date Time
    02:10 Round to nearest minute using Modulo
    04:08 Round to nearest minute using Column From Examples
    05:48 Create a Time Table
    10:48 Connect Fact table to Time Table and produce charts
    Find a copy of the Time Table on our website
    accessanalytic.com.au/free-ex...
    Video on Calendar Table
    • What is a Date Table /...
    Follow me on LinkedIn
    / wynhopkins
    Twitter
    / wynhopkins
    Access Analytic Training
    accessanalytic.com.au/training
  • แนวปฏิบัติและการใช้ชีวิต

ความคิดเห็น • 109

  • @IvanCortinas_ES
    @IvanCortinas_ES 2 ปีที่แล้ว +11

    Direct, effective, powerful, productive. As always, perfect. Thank you for the explanation Wyn!

    • @AccessAnalytic
      @AccessAnalytic  2 ปีที่แล้ว

      Thanks Ivan, greatly appreciated

  • @yeeau
    @yeeau 11 วันที่ผ่านมา +1

    Only just came across this video...absolutely brilliant! and very well explained. Thanks

  • @guymorales
    @guymorales หลายเดือนก่อน +1

    I just came across this great video easy to follow and implement. Thanks

    • @AccessAnalytic
      @AccessAnalytic  หลายเดือนก่อน +1

      You’re welcome Guy. I appreciate you taking the time to let me know you found it useful

  • @darktjo6578
    @darktjo6578 3 หลายเดือนก่อน +1

    Usually I don't leave comments, but man, THANK YOU!!!!! The solution is simple and your explanation!!! Simple and direct!!! Outstanding!!!! Thanks again!!

    • @AccessAnalytic
      @AccessAnalytic  3 หลายเดือนก่อน

      You’re welcome. Thanks for taking the time to leave a kind comment

  • @d20207
    @d20207 ปีที่แล้ว

    OMG!!!! This is the only video that explains time intervals in such an easy way. There other videos which explain the same objective but with DAX formulas and are so complicated!! this methodology is so easy to understand. Thank you!!

    • @AccessAnalytic
      @AccessAnalytic  ปีที่แล้ว

      You're welcome! Thanks for taking the time to leave a kind comment

  • @nataliiaiatsenko7779
    @nataliiaiatsenko7779 9 หลายเดือนก่อน +2

    Use again your video. You are the best teacher!

  • @darlingtonezemadu5647
    @darlingtonezemadu5647 ปีที่แล้ว +1

    The explanation is concise and comprehensible. After couple of searches, this just saved my life. Thank you very much.

    • @AccessAnalytic
      @AccessAnalytic  ปีที่แล้ว +1

      Excellent! I appreciate you taking the time to let me know you found it useful

  • @natah1284
    @natah1284 2 ปีที่แล้ว +1

    Just shared this channel with coworkers… worth every second!

    • @AccessAnalytic
      @AccessAnalytic  2 ปีที่แล้ว

      Greatly appreciated Nata H! Thanks

  • @kelechie.2011
    @kelechie.2011 2 ปีที่แล้ว +2

    Awesome. Straight to the point and helpful

  • @user-xn2sj3jt5s
    @user-xn2sj3jt5s 9 หลายเดือนก่อน +1

    Amazing video.

  • @AnkitGupta-cn1zd
    @AnkitGupta-cn1zd 2 ปีที่แล้ว +1

    You have the solution to all the query ...Thanks a ton

  • @ewuolablessingomolola9769
    @ewuolablessingomolola9769 ปีที่แล้ว +4

    Thank you so much, this video helped me achieve exactly what I was trying to

    • @AccessAnalytic
      @AccessAnalytic  ปีที่แล้ว

      Awesome, thanks for letting me know it helped you

  • @dlerouxa
    @dlerouxa 2 ปีที่แล้ว +1

    Very clear explications. Your english is easy to understand moreover. Thanks a lot

  • @SamiElzaim
    @SamiElzaim 2 ปีที่แล้ว +2

    Great one ! Thank you.

  • @vinipowerbi
    @vinipowerbi ปีที่แล้ว +1

    Thank you so much , beautifully explained

  • @gabrielximenes6895
    @gabrielximenes6895 6 หลายเดือนก่อน +1

    Thanks! Very good explanation with lots of good bits of power bi to learn! Excelent video!

  • @wayneedmondson1065
    @wayneedmondson1065 2 ปีที่แล้ว +2

    Hi Wyn. Excellent! Some very good tips and techniques there. Thanks for sharing :)) Thumbs up!!

    • @AccessAnalytic
      @AccessAnalytic  2 ปีที่แล้ว +1

      Cheers Wayne, you never know when some bits will come in handy

  • @oconnorra
    @oconnorra 2 ปีที่แล้ว +1

    Thanks a lot man! Good stuff

  • @lorenzoladejobi8701
    @lorenzoladejobi8701 2 ปีที่แล้ว +1

    Very educative! Thank you

  • @bentatlim
    @bentatlim 2 ปีที่แล้ว +1

    I love love love your videos :) They are so helpfull !!!! Amazing ! THANK YOU !!!!

  • @me58123
    @me58123 9 หลายเดือนก่อน +1

    very helpful!!

    • @AccessAnalytic
      @AccessAnalytic  9 หลายเดือนก่อน

      Thanks for letting me know

  • @SaniGarba
    @SaniGarba 2 ปีที่แล้ว +2

    This is a great solution. Thanks.

  • @mnowako
    @mnowako 2 ปีที่แล้ว +1

    Excellent! Thank you!

  • @Fyllype
    @Fyllype ปีที่แล้ว +1

    You are on another level! thanks

  • @mabenba
    @mabenba 2 ปีที่แล้ว +2

    Thanks for this very informative tutorial! It really helped me a lot.

    • @AccessAnalytic
      @AccessAnalytic  2 ปีที่แล้ว +1

      Great to hear Matias, thanks for taking the time to leave a kind comment

  • @anthonypasslow1933
    @anthonypasslow1933 2 ปีที่แล้ว +1

    Great work and presentation, thank you

  • @nataliiaiatsenko7779
    @nataliiaiatsenko7779 ปีที่แล้ว +1

    Thank you very much. You helped a lot!

    • @AccessAnalytic
      @AccessAnalytic  ปีที่แล้ว

      No worries 😁. Thanks for letting me know

  • @ChrisSmithFW
    @ChrisSmithFW ปีที่แล้ว +1

    This is great. Thank you very much.

  • @loricksho515
    @loricksho515 2 หลายเดือนก่อน +1

    Thank you so much! This solution helped a lot!

    • @AccessAnalytic
      @AccessAnalytic  2 หลายเดือนก่อน

      No worries. I appreciate you taking the time to let me know you found it useful

  • @zcc7156
    @zcc7156 ปีที่แล้ว +1

    super awesome and easy to follow

    • @AccessAnalytic
      @AccessAnalytic  ปีที่แล้ว

      Thanks for taking the time to leave a kind comment

  • @matthewgalport6096
    @matthewgalport6096 4 หลายเดือนก่อน +1

    Fantastic tutorial

  • @FRANKWHITE1996
    @FRANKWHITE1996 2 ปีที่แล้ว +1

    Thanks for sharing! 👍

  • @alaahassan135
    @alaahassan135 2 ปีที่แล้ว +1

    Realy amazing, Thanks

  • @Bhavik_Khatri
    @Bhavik_Khatri 2 ปีที่แล้ว +1

    Very nice tutorial 👍

    • @AccessAnalytic
      @AccessAnalytic  2 ปีที่แล้ว

      Thanks Bhavik 😃, I'm glad you're finding these videos useful

  • @sonyse2t5
    @sonyse2t5 2 ปีที่แล้ว +1

    Ace presentation.

  • @leofrittrang9095
    @leofrittrang9095 2 ปีที่แล้ว +1

    Great Video, Thanks a lot! Is it somehow possible to show the last value for all empty 5 minute time slots? I have a data source that only gives out a new value output once there is a change to the value, if there is no change over a longer period of time that means that the value stays same.

    • @AccessAnalytic
      @AccessAnalytic  2 ปีที่แล้ว

      Thanks Leo. That’s a more complex scenario than I can answer here without understanding the data more. I’d suggest posting some screenshots and details of what you are trying to do here community.powerbi.com/t5/Desktop/bd-p/power-bi-designer

  • @androtele9887
    @androtele9887 2 ปีที่แล้ว

    Thank you for this video. It is helpful. I’m learning a lot of new things.
    I don't know if can help.I have challenge that currently I was not able to sort out. I need to plot big dataset where I have as X axle the time (gg/mm hh:mm) and as Y axle several numerical series. Usually, I’m able to plot them with Excel, but when I need to go granular, Excel frozen (in the best case). I need that, because first I have a look to the whole trend as general and then zoom in where there are some discontinuities. To zoom in, I’m filtering the table. Is there an easy and smarter way to do this with Excel or Power Bi or? Thank you for any suggestion.

    • @AccessAnalytic
      @AccessAnalytic  2 ปีที่แล้ว +1

      Power BI has a zoom slider feature for axis, plus there are a few custom visuals like this that may help blog.pragmaticworks.com/power-bi-custom-visuals-time-brush

    • @androtele9887
      @androtele9887 2 ปีที่แล้ว +1

      @@AccessAnalytic Thank you very much

  • @momo70467
    @momo70467 ปีที่แล้ว

    @access Analytics. this an amazing video. I learned a lot. I am however looking for a way basically to define business day / date. in Bar/Nightclub company the regulation requires reporting business revenue based on the day the business day started:
    Monday business starts 6am and end 5:59:59 am on Tuesday and so on for the rest of the week.
    I need help figuring out a way to create a table visual that reflects the numbers that way. right now the way I do it cuts all day revs at midnight ... please help!

    • @AccessAnalytic
      @AccessAnalytic  ปีที่แล้ว +1

      Hi Mo, maybe the query in this link is what you need? aasolutions.sharepoint.com/:x:/s/PubliclyAvailableContent/EbFw84-KNGlGkKk0IhcVNyoBRycR3JuR5N1UTFGxp4Q9Ww?e=Cxw0Iq
      After opening Go to Save As and download a copy

  • @bendunford8732
    @bendunford8732 2 ปีที่แล้ว

    Win, this is terrific. Any advice on how to sort the hour time slots in chronological time order (12:00am in the morning through the day to 11:59pm?) I can't seem to make it work on my end.😀

    • @AccessAnalytic
      @AccessAnalytic  2 ปีที่แล้ว

      You might need to add an index column and then use the sort by button

    • @AccessAnalytic
      @AccessAnalytic  2 ปีที่แล้ว

      Although unless the column is text it should sort in numerical order.

  • @AnkitGupta-cn1zd
    @AnkitGupta-cn1zd 2 ปีที่แล้ว

    It seems quite easy, I have just a small issue, How to proceed when I am actually working on my data set, to perform each and every task consumes 15-20 min. makes the easy things look bit messy. If you can suggest on this that would be a great help to me.

  • @macrokiler
    @macrokiler 2 ปีที่แล้ว +1

    Wyn! Nice job over there! I wonder if I have "start_time" and "end_time" columns, visualization-wise, how could I approach this? Should I use only the started_time column? Only the ended_time? Cause here I wouldn't have a "master time column". If anyone can help me.

    • @AccessAnalytic
      @AccessAnalytic  2 ปีที่แล้ว +1

      Thanks Bruno, If you need to report on both then bring in both and connect both to your Calendar. One will be the active primary solid line relationship and the other will be an inactive dotted line. You then use the USERELATIONSHIP function in DAX to trigger the dotted line as required.

    • @macrokiler
      @macrokiler 2 ปีที่แล้ว +1

      @@AccessAnalytic Ok! Thank you so much! Enjoying your channel a lot.

  • @bgkearns
    @bgkearns ปีที่แล้ว +1

    Great video, How would I create a measure to calculate a running total across both the time and calendar tables?

    • @AccessAnalytic
      @AccessAnalytic  ปีที่แล้ว

      Maybe something like
      // Sales Lifetime to Date (LTD) Calculation
      Sales LTD =
      VAR MaxDate = MAX('Calendar'[Date])
      VAR MaxTime = MAX('Time'[Time])
      VAR LifetimeSales =
      CALCULATE (
      [Sales],
      FILTER (
      ALL('Calendar', 'Time'),
      'Calendar'[Date]

  • @TookieBunten
    @TookieBunten ปีที่แล้ว

    Would love something like this for minutes, seconds and hundredths. MM:SS.00 and converting numbers stored as text to that format. Can never get power query to do it

    • @AccessAnalytic
      @AccessAnalytic  ปีที่แล้ว

      I don't know the answer to that sorry

  • @souzaeq
    @souzaeq 11 หลายเดือนก่อน

    Nice video; really helped. I still have one doubt: I need to divide the value to split among the days, wich time dax or transformation in power query should I use like to divide the total revenue by the number of days and then create a line for each recurrence. Like: USD 100/ 4 days, is USD 25/ day, how can I automatically generate starting from current information as 4/jan/2023 (end date) with 100 USD to 1/jan/2023 with USD 25, 2/jan/2023 with USD 25, 3/jan/2023 with USD 25 and 4/jan/2023 with USD 25 ?

    • @AccessAnalytic
      @AccessAnalytic  11 หลายเดือนก่อน

      Bit too tricky to explain here sorry. I'd suggest posting to one of the forums such as community.fabric.microsoft.com/t5/Desktop/bd-p/power-bi-designer
      Or
      techcommunity.microsoft.com/t5/excel/bd-p/ExcelGeneral
      or
      www.reddit.com/r/PowerBI/new/

  • @juanarturosilvaordaz8827
    @juanarturosilvaordaz8827 ปีที่แล้ว

    Hello, does anyone know the measure for "Number of Units"? It'd be great if you could share it

    • @AccessAnalytic
      @AccessAnalytic  ปีที่แล้ว +1

      There isn’t one measure that fits. It’s dependent on the structure and names of tables and columns. This isn’t specifically Time related is it?
      Is it not =SUM( TableName( ColumnName) )

  • @sravankumar4860
    @sravankumar4860 ปีที่แล้ว

    Hi Sir, Can you please help me how to find the overlapping start and stop dates for patients using Excel. Thanks.

    • @AccessAnalytic
      @AccessAnalytic  ปีที่แล้ว

      Hi, would need more information and examples sorry. You should post the question with some example data and more description here techcommunity.microsoft.com/t5/microsoft-excel/ct-p/Excel_Cat?WT.mc_id=M365-MVP-5002589

  • @Avais880
    @Avais880 2 ปีที่แล้ว

    HI, when i use this method time stamp 5:00:00 convert to Time to min 4:59:00, how can i avoid this?

    • @AccessAnalytic
      @AccessAnalytic  ปีที่แล้ว

      I'm not sure sorry , i'd suggest posting a screenshot and example file here techcommunity.microsoft.com/t5/excel/bd-p/ExcelGeneral

  • @ashokganne9116
    @ashokganne9116 ปีที่แล้ว

    How can we create time bucket 9 to 10 hr, 10 to11 hr based on time table

    • @AccessAnalytic
      @AccessAnalytic  ปีที่แล้ว

      I’d try using Column from Examples and type in a few different examples on the relevant rows. Otherwise you’ll need to write a custom column formula

  • @pabeader1941
    @pabeader1941 2 ปีที่แล้ว +1

    I love you. I want to have your children. All kidding aside. I have been looking for ANYBODY talking about actual TIME info. Now if we can just get the Power Platform folks to add TIME to their ecosystem. And change the name to Period Intelligence instead of Time Intelligence (which it isn't)

  • @tonyrooibos
    @tonyrooibos ปีที่แล้ว +1

    This looks like too much hard work, compared to other products, (Matlab, R, KNIME, etc) . IMO Power BI is not a great tool for time series analysis, as it does not handle time easily. A time stamp to even milli-seconds should be able to be handled transparently. Maybe MS will add such functionality going forward.

    • @AccessAnalytic
      @AccessAnalytic  ปีที่แล้ว

      It would be great if there were built in buttons / ui features to help people build their own Date and Time tables

    • @tonyrooibos
      @tonyrooibos ปีที่แล้ว

      @@AccessAnalytic - There are other tools I have available, some since the early nineties, where the tool automatically handles timestamps from years down to fractions of a second, with no need for wrangling of timestamps eg to separate and handle data and times separately. Even EXCEL can sort of do this. Why cannot Power BI do this too ? Or maybe it can ? For exmaple I may have timestamps as yyyy-mm-dd HH:MM:SS and possibly 10, 000 columns, 100 of millions of rows, and want to plot say an XY with X = time, Y - any variable quickly. No fuss. ???

    • @AccessAnalytic
      @AccessAnalytic  ปีที่แล้ว

      Power BI won’t handle 10000 columns ( normally you unpivot those columns to make longer thinner tables, but with 100 million rows it’s unlikely to cope with that, you’d need some earlier database view prep I’d imagine.
      You can display date time on a graph

    • @tonyrooibos
      @tonyrooibos ปีที่แล้ว

      @@AccessAnalytic Thanks for the advice. The data is not amenable to aggregating etc, but that is another story.

  • @IncredibleAdventure1
    @IncredibleAdventure1 ปีที่แล้ว +1

    Simpler Way
    NearestMinuteTime = ROUND([TIME_STAMP]*1440,0)/1440

    • @IncredibleAdventure1
      @IncredibleAdventure1 ปีที่แล้ว

      I found out that if you do it this way the relationships in the model do not work. You have to do it in Power Query Editor

    • @AccessAnalytic
      @AccessAnalytic  ปีที่แล้ว

      Always advisable to add new columns in Power Query rather than DAX