Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I have data as follows:
Calendar table:
want to establish connection between the above fact table and calendar table which I created in Power BI.
Please help me to do.
Thanks,
AshDil.
Solved! Go to Solution.
Hey @AshDil ,
first you have to transform the months columns in your fact table into two attribute (month)/value combination using the Unpivot operation in Power Query. Here you will find one of the many articles describing what Unpivoting means: Unpivot Columns in Power BI - New Tech Dojo
Then create another column that will finally hold a date column, this date column then is allowing to relate the fact table with your calendar table.
If you need more help, please create a Power BI file that contains some sample data but still reflects your data model, upload the pbix to onedrive or dropbox and share the link. If you are using Excel to create the sample data, share the xlsx as well.
Regards,
Tom
Hey @AshDil ,
first you have to transform the months columns in your fact table into two attribute (month)/value combination using the Unpivot operation in Power Query. Here you will find one of the many articles describing what Unpivoting means: Unpivot Columns in Power BI - New Tech Dojo
Then create another column that will finally hold a date column, this date column then is allowing to relate the fact table with your calendar table.
If you need more help, please create a Power BI file that contains some sample data but still reflects your data model, upload the pbix to onedrive or dropbox and share the link. If you are using Excel to create the sample data, share the xlsx as well.
Regards,
Tom
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
99 | |
80 | |
64 | |
58 |
User | Count |
---|---|
148 | |
111 | |
93 | |
84 | |
66 |