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
Hello
I have a powerbi model that has a date table in it. The date table is standard e.g. year, month, day, financial year, financial month number etc. I want to connect this into a transaction table that summarises income by month and year. As it has the year and month in it, I thought I could link the two tables by these fields but it's created a many to many relationship, and it's not giving me the correct result. I want to link the two so I can get the financial year and financial month from the date table. It seems so much more difficult than it should be
I think the best way to do this is create a date column in your transaction table based off the year and month columns. So just create a calculated column that adds a day of 1 to each month and year combo. Something like:
Date = DATE( 'Transaction'[Year] , 'Transaction'[Month] , 1 )
Then just join that up to your date dimension.
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 |
---|---|
110 | |
80 | |
66 | |
53 | |
52 |
User | Count |
---|---|
121 | |
116 | |
77 | |
64 | |
63 |