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 community,
Is it possible to have a DAX measure that can insert values into a table or list.
For example i can write a measure to return distinct values from my table so it looks like this:
I want to create a new DAX formula that will append two additonal values into this list/table so it looks like this now:
The values Total Budget and Total Amount added to the table
Thanks in advance
Solved! Go to Solution.
Hello,
You can do that with Power Query.
Open the Power Query editor on the table that you want and edit the code using this :
let
Source = YourTable,
AppendValues = Table.FromList({"Total Budget", "Total Amount"}, Splitter.SplitByNothing()),
AppendedTable = Table.Combine({Source, AppendValues})
in
AppendedTable
Igna