Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hello,
I am still fairly new to PBI. I am creating visuals for Budget Variances. I am given the Actuals and the Budget in the data set. I created a measure to do so:
Hi @Anonymous
You didn't say what you would display instead of 0.
IF you need a flexible solution, maybe something like this would work.
OL6 Variance =
VAR _Actual = SUM( 'Run Export Action'[Actual (USD)] )
VAR _Budget = SUM( 'Run Export Action'[OL6 Budget (USD)] )
VAR _Variance =
DIVIDE(
_Actual - _Budget,
_Budget,
0
)
VAR _Logic =
IF(
NOT ISBLANK( _Actual ),
IF(
NOT ISBLANK( _Budget ),
_Variance,
"No Budget"
),
"No Actual"
)
RETURN
_Logic
Hi this helps. However, moreso if the budget is 0 and there is an amount in the actuals how would I get the outcome to show 100% instead of 0%?
Hi @Anonymous
In the above measure, change "No Budget" to 1.
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 45 | |
| 38 | |
| 34 | |
| 21 | |
| 17 |
| User | Count |
|---|---|
| 66 | |
| 64 | |
| 31 | |
| 26 | |
| 26 |