The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
HI,
I'm trying to connect one fact table (consumption data by hour ) with another table with different labels according to month & hour. It's like: "My consumption of 01:00-02:00 PM must be classified according to mounth & hour. With the table 2 I can labelled It."
May I make a Calendar (Dim table) & HOUR(Dim table)?
Yours sincerely,
TeraMaster.
Solved! Go to Solution.
Yes, you can create a Calendar (Dimension) table and an Hour (Dimension) table to help with labeling and classifying your consumption data based on month and hour.
Here's how you can create these tables:
Calendar (Dimension) table:
Hour (Dimension) table:
Once you have these Dimension tables set up, you can establish relationships between them and your Consumption (Fact) table. The Calendar table will be linked to the date column in your Consumption table, while the Hour table can be linked to the hour or time column in your Consumption table.
By creating these Dimension tables and establishing relationships, you can use the attributes from the Calendar and Hour tables to label and classify your consumption data based on month and hour in your visualizations and calculations.
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍
Yes, you can create a Calendar (Dimension) table and an Hour (Dimension) table to help with labeling and classifying your consumption data based on month and hour.
Here's how you can create these tables:
Calendar (Dimension) table:
Hour (Dimension) table:
Once you have these Dimension tables set up, you can establish relationships between them and your Consumption (Fact) table. The Calendar table will be linked to the date column in your Consumption table, while the Hour table can be linked to the hour or time column in your Consumption table.
By creating these Dimension tables and establishing relationships, you can use the attributes from the Calendar and Hour tables to label and classify your consumption data based on month and hour in your visualizations and calculations.
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍
Thanks a lot for clarifying my mind. That's a good point.
Let me ask you some lines: In the case we've got our Consumption table connected to both Calendar table & Hour table, is any form for connecting our fact table with the Labels table?
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
21 | |
21 | |
18 | |
16 | |
13 |
User | Count |
---|---|
41 | |
38 | |
23 | |
21 | |
19 |