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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi,
I created a measure if actual isblank, then use LBE. but the total is incorrect.
example:
Month Actual LBE LBEorAct CumAct CumLBEorAct
Jan 10 20 10 10 10
Feb 20 20
Mar 20 20
Apr 20 20
Total 10 80 20===> this should be 70
tried, but didnt work. got the same result.
I have a table for actuals, another for LBE. all I want is a table to show LBEorActual
For example, if there is actual$ for Jan only, then Feb-Dec use LBE$. So I can have Full Year Forecast of Actual and LBE.
Month Actual LBE LBEorAct CumAct CumLBEorAct
Jan 10 20 10 10 10
Feb 20 20
Mar 20 20
Apr 20 20
Total 10 80 20===> this should be 70
Can you please share your PBI file?
You are having an issue with the total because the formula is not accounting for the context of the calculation.
The missing part here is the aggregation over time so you may need TOTALYTD() :
LBEorACT =
IF(
ISBLANK(SUM(table1[Actual])),
TOTALYTD(SUM(table2[LBE]), 'table3'[Date]),
TOTALYTD(SUM(table1[Actual]), 'table3'[Date])
)
Can you also share your PBI file to have more info about your situation ?
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 132 | |
| 88 | |
| 82 | |
| 68 | |
| 64 |