Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi All, I have tw tables Actuals and forecast that are connected through calendar table via calendar date.
I want to create a matrix where I can see one column that represents Actual/Forecast i.e. if actuals are not available then forecast amount should be added but if actual is available then only actuals should be updated in column.
Below is the expected output.
Year | Qtr | Actuals | Forecasted | Forecasted/Actuals |
2022 | Q1 | 500 | 300 | 500 |
2022 | Q2 | 600 | 400 | 600 |
2022 | Q3 | 0 | 150 | 150 |
2022 | Q4 | 0 | 500 | 500 |
1100 | 1350 | 1750 |
I tried to create a dax but not getting the correct output
Solved! Go to Solution.
You can do this much easier if you keep the Actuals blank (rather than at 0)
Forecasted/Actuals = COALESCE([Actuals],[Forecasted])
You can do this much easier if you keep the Actuals blank (rather than at 0)
Forecasted/Actuals = COALESCE([Actuals],[Forecasted])
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
13 | |
11 | |
10 | |
10 |