This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hello,
I have been at this for a couple hours.
Dataset A has expenses in dollars by category with dates.
Dataset B has budgets in dollars by category with dates.
The categories are mostly the same.
Is it possible to make a clustered column chart that will sum these two dollar amounts, in order to visualize the deficit/surplus over a given amount of time?
I tried making a third dataset with just the category, but it would only have 1 active relationship to A or B.
Thank you,
Danny
Solved! Go to Solution.
Hi,
Ideally you should append the two datasets (Give a name to this appended dataset as Data). Ensure that there is column in the Appended dataset which says "Budget" or "Actual" to identify the information in that row. Then create a Calendar Table and build a relationship from the Date column of the appended dataset to the Date column of the Calendar Table. In the Calendar Table, extract Year and Month by using the following calculated column formulas: Year = Year(Calendar[Date]) and Month = FORMAT(Calendar[Date],"mmmm").
Write these measures
Actual = CALCULATE(SUM(Data[Amount]),Data[Type]="Actual")
Budget = CALCULATE(SUM(Data[Amount]),Data[Type]="Budget")
Hope this helps.
Hi,
Ideally you should append the two datasets (Give a name to this appended dataset as Data). Ensure that there is column in the Appended dataset which says "Budget" or "Actual" to identify the information in that row. Then create a Calendar Table and build a relationship from the Date column of the appended dataset to the Date column of the Calendar Table. In the Calendar Table, extract Year and Month by using the following calculated column formulas: Year = Year(Calendar[Date]) and Month = FORMAT(Calendar[Date],"mmmm").
Write these measures
Actual = CALCULATE(SUM(Data[Amount]),Data[Type]="Actual")
Budget = CALCULATE(SUM(Data[Amount]),Data[Type]="Budget")
Hope this helps.
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 31 | |
| 25 | |
| 21 | |
| 18 | |
| 17 |
| User | Count |
|---|---|
| 62 | |
| 34 | |
| 33 | |
| 25 | |
| 24 |