This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hellos community,
New here. I am trying with no success with calculate to make variance of values. Actual vs Budget, Actual vs Forecast and Actual vs Previous Year.
All data is in the same column and there are a column for date and other for type of value (forecast, actual or budget). See picture below.
how can I do that?
Solved! Go to Solution.
or if you do not want transformation your table, then you need to write the following measures:
BUDGET = CALCULATE(SUM('Table'[ VALUE]),'Table'[VALUE TYPE]="BUDGET")
FORECAST = CALCULATE(SUM('Table'[ VALUE]),'Table'[VALUE TYPE]="FORECAST")
ACTUAL = CALCULATE(SUM('Table'[ VALUE]),'Table'[VALUE TYPE]="ACTUAL")
or if you do not want transformation your table, then you need to write the following measures:
BUDGET = CALCULATE(SUM('Table'[ VALUE]),'Table'[VALUE TYPE]="BUDGET")
FORECAST = CALCULATE(SUM('Table'[ VALUE]),'Table'[VALUE TYPE]="FORECAST")
ACTUAL = CALCULATE(SUM('Table'[ VALUE]),'Table'[VALUE TYPE]="ACTUAL")
You first need to transformation your table for this, see my video, and then you can create simple measures
https://1drv.ms/v/s!AiUZ0Ws7G26Rh0DmynvfwdeQja5G?e=d7efBH
Thanks a lot Ahmedx
Check out the May 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 | |
| 26 | |
| 23 | |
| 22 | |
| 15 |
| User | Count |
|---|---|
| 63 | |
| 45 | |
| 28 | |
| 24 | |
| 22 |