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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hi,
How does one subtotal a forecasted data and actual data in a matrix? Currently the subtotal auto calculated by powerbi is only showing actual figures for Jan-June but not including forecasted figures for July.
I'm using to the following logic to get powerbi to choose between forecasted and actual data:
Actual/Fc = IF(SUM('Table 1 -Actual'[Value])=0,SUM('Table 2 - Forecasted'[Value]), SUM('Table 1 - Actual'[Value]))
thanks in advance
Hi, change totals using if(hasonevalue(name of the month column), IF(SUM('Table 1 -Actual'[Value])=0,SUM('Table 2 - Forecasted'[Value]))+SUM('Table 1 - Actual'[Value]), IF(SUM('Table 1 -Actual'[Value])=0,SUM('Table 2 - Forecasted'[Value]), SUM('Table 1 - Actual'[Value])))
Hi, sry I was not clear, the total column is using the subtotal settings in Powerbi.
Link to sample file: https://we.tl/t-01SBV27ftn
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 55 | |
| 53 | |
| 40 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 123 | |
| 108 | |
| 44 | |
| 32 | |
| 26 |