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 August 31st. Request your voucher.
Hi All,
I am new to this so my question could be very basic. I am trying to create a new custom column to display the numbers from a column named "actual amount" in either negative or positive values, based on a value "Outgoing" from a column called "payment direction.
How can I do that, please? I have ssen other topics about this but I can't seem to get this to work for me. Thanks.
Solved! Go to Solution.
= Table.AddColumn(PriorStepOrTableName, "Actual Amount", each if [Direction] = "Outgoing" then [Amount] * -1 else Amount)
--Nate
= Table.AddColumn(PriorStepOrTableName, "Actual Amount", each if [Direction] = "Outgoing" then [Amount] * -1 else Amount)
--Nate