Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I have 2 tables one showing Budgets for different spend types for each month and an 8 month total forcast. e.g.
The other table shows actual spend that has a Spend type (same as the budget spend types), amount spent, name of spend and a Date feild showing when a spend was made I want to be able to show Actual spend against the budget per monthly target.
The issue I have is that I cannot relate the Date of the actual spend to the Month Date in the header of the budget table so I can filter on for example Oct-23 target and bring back all acutal spends from the Acutal spend table to plot against the budget.
Do I need to go into the data and add Date feild for each spend type in the budget? similar to the below to allow me to filter on Month? or is ther an easier way?
Solved! Go to Solution.
Hi @Jamie_Macca
You would need to transform your table so that the dates are in rows, similar to the example you have provided at the end of your post. Fortunately you don't need to do that in the raw data, you can do that in Power Query.
Best practice would then be to have a date dimension table that filters both the budget table and the spend table, rather than relating the budget table directly to the actual spend table.
@Adescrit Thank you so much, I've never used the Unpivot Function.
I thought there must be an easy/repeatable way of doing it.
Unsure what the date dimension table is but can look that up.
Thanks Again!
Hi @Jamie_Macca
You would need to transform your table so that the dates are in rows, similar to the example you have provided at the end of your post. Fortunately you don't need to do that in the raw data, you can do that in Power Query.
Best practice would then be to have a date dimension table that filters both the budget table and the spend table, rather than relating the budget table directly to the actual spend table.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
61 | |
61 | |
55 | |
38 | |
27 |
User | Count |
---|---|
85 | |
60 | |
45 | |
41 | |
39 |