March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi everyone,
I have multiple tables with the structure similar as the table below. Since it has the country and the company names in the same column, I would like to create a new column ("Country") where the value takes up the volumn of column A but a row before. (examples illustrated in yellow column)
Afterwards, I can filter out the rows where "plant location" is null to get the desired table of 3 columns "Company", "plant location", "Country"
Or if anyone has any other ideas how to extract the country name and get the same results of a 3-column table, I would also very much appreciate.
Thanks!
Solved! Go to Solution.
if you add an Index column (using the interface) you can get the value of the column in the row prior:
#"Added Index"{[Index] - 1}[Company]
edit: power query solution
if you add an Index column (using the interface) you can get the value of the column in the row prior:
#"Added Index"{[Index] - 1}[Company]
edit: power query solution
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
119 | |
76 | |
57 | |
56 | |
44 |
User | Count |
---|---|
183 | |
120 | |
80 | |
67 | |
57 |