The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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]
User | Count |
---|---|
71 | |
63 | |
60 | |
49 | |
26 |
User | Count |
---|---|
117 | |
75 | |
62 | |
55 | |
43 |