We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
@ChandeepChhabra has created an amazing video that demonstrates this approach.
Here is a bit adjusted code wrapped in a function (copy/paste ready solution, no need to watch video every time):
= (Source as table, _lColumnNames as list) =>
let
TrueIfContainsColumnnames = Table.AddColumn(Source, "__CustomTemp__", each List.ContainsAll(Record.ToList(_),_lColumnNames)),
SkipTill1stTrue = Table.Skip(TrueIfContainsColumnnames,each [__CustomTemp__]<>true),
RemoveTempColumn = Table.RemoveColumns(SkipTill1stTrue,{"__CustomTemp__"}),
Result = RemoveTempColumn
in
Result
Example:
Problem:
Solution (2nd parameter is a list of column names that uniquely identifies the header row):
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 6 | |
| 4 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 11 | |
| 10 | |
| 7 | |
| 7 | |
| 6 |