Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
I'm trying to create a function that makes changes to tables before expanding. The starting point is as below a column of tables.
My function at present takes a table and promotes headers.
It kind of works as intended but not getting the correct result
Each table in column c2 has another table and the table contained does not have promoted headers. Not sure where my syntax is incorrect.
Any help would be appreciated.
Solved! Go to Solution.
Hi @Hannisky ,
It looks like you should be invoking your function in a TransformColumns function, something like this:
Table.TransformColumns(Source, {"c1", each fnHeaders(_)})
Pete
Proud to be a Datanaut!
Hi @Hannisky ,
It looks like you should be invoking your function in a TransformColumns function, something like this:
Table.TransformColumns(Source, {"c1", each fnHeaders(_)})
Pete
Proud to be a Datanaut!
Perfect. Thank you
| User | Count |
|---|---|
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 1 |
| User | Count |
|---|---|
| 11 | |
| 9 | |
| 5 | |
| 4 | |
| 4 |