Skip to content

How to get an HOURLY Time Table data in Bravo #489

Answered by marcosqlbi
tidypy asked this question in Q&A
Discussion options

You must be logged in to vote

In order to use Time Intelligence functions, you should keep a Date table with only one row per day. The best practice is to move the hour (or the time within a day) into another dimension, splitting the date and time into two columns in your fact tables.

https://www.sqlbi.com/articles/optimizing-high-cardinality-columns-in-vertipaq/
https://www.sqlbi.com/blog/alberto/2019/03/25/using-dax-with-datetime-values/
https://www.sqlbi.com/articles/automatic-time-intelligence-in-power-bi/

Bravo implements the same patterns described here: https://www.daxpatterns.com/time-patterns/

I would not suggest you add a column to your Date table, because it would break the time intelligence calculations. H…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by marcosqlbi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants