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,
From Target (Column 1) & Actual(Column 2), I am trying to calculate Saving (Column 3).
Saving in possible below senarios, and below to this image my attempt of power query custom column.
= if [Target] = [Expense] or [Target]=null or [Expense]=null or [Target]=0 or [Expense]=0 then null else [Target]-[Expense]
Solved! Go to Solution.
plse try this
[
t = [Target]*[Expense],
to = if t <> 0 and t <> null
then [Target] -[Expense]
else null][to]
------- or -----------
[
t= [Target]*[Expense]?? 0 ,
to = if t> 0 then [Target]-[Expense]
else null][to]
plse try this
[
t = [Target]*[Expense],
to = if t <> 0 and t <> null
then [Target] -[Expense]
else null][to]
------- or -----------
[
t= [Target]*[Expense]?? 0 ,
to = if t> 0 then [Target]-[Expense]
else null][to]
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.