Forum Discussion
Martin_Bruwer
8 years agoFrequent Visitor
Populate a new calculated column with data from within the same table DAX or M?
Evening All, I have a scenario where I have appended three data tables together, each table has a field which the others need, but don't have naturally, for example a 'How Paid'. This field exist...
- 8 years ago
Try this column
Column = CALCULATE ( FIRSTNONBLANK ( Table1[How Paid], 1 ), ALLEXCEPT ( Table1, Table1[Transaction Code] ) )
Phil_Seamark
Microsoft Employee
8 years agoIn Power Query
1. Dupicate the table
2. Group the new table by Transaction code and add an aggregation to be MAX over column How Paid
3. Merge the new table into the orignal table joining on Transaction code.
I have attached a sample PBIX File