Skip to main content

Power BI

Completed

Analysis by date/time: View data by year, month, day, day of week, time of day, etc.

Vote (2101) Share
Riccardo Muti's profile image

Riccardo Muti on 13 Nov 2014 09:53:55

If I have a date/time field in my data, I should be able to view metrics by year, by month, by day, by day of week, by time of day, and so on. I should be able to drill from month down to day, back up to month, and so on.

I should also be able to ask for 'last 7 days' or '12 months ago' in my formulas, filters etc.

I shouldn't need to create a "Date" table and all of these fields in my data. As long as I have a date/time field in my data, I should be able to do this analysis easily in the Power BI report (or Q&A).

Administrator on 11 May 2017 06:45:53

In the May release of Power BI Desktop we shipped a preview of the relative date slicer. To learn more check out this blog post: https://powerbi.microsoft.com/en-us/blog/power-bi-desktop-may-feature-summary/ In addition, the new Quick Measures feature has a bunch of time intelligence calculations that you can add to your model. Learn more about that feature here: https://powerbi.microsoft.com/en-us/blog/quick-measures-preview/

Comments (112)
Riccardo Muti's profile image Profile Picture

55291deb 534a-408e-a678-0bafe962daa9 on 05 Jul 2020 22:23:23

RE: Analysis by date/time: View data by year, month, day, day of week, time of day, etc.

Is this available yet? Or can someone explain the work around to get Month-Year?

Riccardo Muti's profile image Profile Picture

bcc10059 a084-4a75-8ac7-5b9eba50c7bc on 05 Jul 2020 22:22:44

RE: Analysis by date/time: View data by year, month, day, day of week, time of day, etc.

This has been solved introducing a simple date table into the model. That is to list the FY, CY, Q, week, month, etc for every given date value thus it can be referred to create Y/Y Q/Q etc calculations, reports.

Riccardo Muti's profile image Profile Picture

2ae54c36 9ba2-4eb7-b9cb-5af1e9d3edea on 05 Jul 2020 22:20:16

RE: Analysis by date/time: View data by year, month, day, day of week, time of day, etc.

When implementing time intelligence - please think about to provide a basic fiscal year setting for those whose FY is not starting on January 1. Thanks.

Riccardo Muti's profile image Profile Picture

8ce0faba 5718-4e08-8951-1b8d185c167d on 05 Jul 2020 22:20:14

RE: Analysis by date/time: View data by year, month, day, day of week, time of day, etc.

Was very confused this week before I realized that the currently available 'automatic time hierarchies' are not available in direct connection mode. This is rather unfortunate, as we do quite a few of those when prototyping.

Riccardo Muti's profile image Profile Picture

5d190a5b 4c28-4453-bf10-cf6372fdca5a on 05 Jul 2020 22:20:07

RE: Analysis by date/time: View data by year, month, day, day of week, time of day, etc.

All,

I just watched the "Data Modeling for Power BI" presentation on YouTube from the "Data Insights Summit. The last 15 minutes are on current date functionality as well as some information about what's coming in the near future for date analysis.

Riccardo Muti's profile image Profile Picture

2c9aa7f6 4ef5-4274-bf50-89cc4c01c964 on 05 Jul 2020 22:20:07

RE: Analysis by date/time: View data by year, month, day, day of week, time of day, etc.

So excited to hear this is under development! Thanks to the Microsoft team for making our reporting easier!

Riccardo Muti's profile image Profile Picture

5b64569d 5347-4e71-9fde-e0b1c2b63263 on 05 Jul 2020 22:19:54

RE: Analysis by date/time: View data by year, month, day, day of week, time of day, etc.

I agree that this is a deal breaker. Without this we can't show basic insight that is necessary for our reports.

Riccardo Muti's profile image Profile Picture

5d190a5b 4c28-4453-bf10-cf6372fdca5a on 05 Jul 2020 22:19:53

RE: Analysis by date/time: View data by year, month, day, day of week, time of day, etc.

All, If you need time intelligence features in reports, check out the DAX functions for this purpose. They are amazing and can do every metric I've seen requested through this thread. Or if you don't want to use DAX, create a Date Dimension in PowerQuery and use that for time intelligence.

Microsoft Team, I recommend you make some statement about your goals for this topic as I think this is costing you customers. People find this thread and say things like, "Tableau has time intelligence and PowerBI doesn't, I want Tableau." I realize this couldn't be farther from the truth but many others don't understand that the DAX functions provide more capability to match the needs of the report than any standardized (dumbed down) time intelligence features can.

Riccardo Muti's profile image Profile Picture

f98e2711 5819-e611-80e2-c4346bad91c4 on 05 Jul 2020 22:19:50

RE: Analysis by date/time: View data by year, month, day, day of week, time of day, etc.

Agreed, it would be nice to not have to go through the workaround of creating a month-year field.

Riccardo Muti's profile image Profile Picture

961b3226 63db-4c44-9a00-7b9f9da59295 on 05 Jul 2020 22:19:49

RE: Analysis by date/time: View data by year, month, day, day of week, time of day, etc.

absolutely critical to see data by date/time; show me my day in 10 sec, 30sec,1 min, 3 min, 5 min, 1 hrs, 4hrs, 1 day, 1 week intervals