Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hello,
Been using this forum for a while and never yet needed to askd a question (they've normally been asked)
I have headers that are usually in the first row of the file, but there are some where there is a random date in the first one or two lines.
Would any of you be bale to help with, where it says "PSID=" in the first or second row that this is not used as the header, or where it says "product" this is used as the header?
Thank you
Solved! Go to Solution.
Hi @StuBee,
Is your row header start on a specific row or randomly index? If you mean it stored on a fixed row number, your can direct extract specific row value and use it with rename functions.
If you mean stored randomly, I'd like to suggest you store these column names in other tables and direct invoke in rename functions to write custom function to analysis and external column name row values.
Regards,
Xiaoxin Sheng
Hi @StuBee,
Is your row header start on a specific row or randomly index? If you mean it stored on a fixed row number, your can direct extract specific row value and use it with rename functions.
If you mean stored randomly, I'd like to suggest you store these column names in other tables and direct invoke in rename functions to write custom function to analysis and external column name row values.
Regards,
Xiaoxin Sheng
Thanks for this, it is that a random 1 or 2 rows may appear (not always) before the headers.
Great idea, just rename them. Thank you so much (feeling a little stupid for not thinking of that)
🙂
You can fix this in Power Query, either during the process of loading the data or afterwards. There is an option in the ribbon for removing rows
I'm a personal Power Bi Trainer I learn something every time I answer a question
The Golden Rules for Power BI
Help when you know. Ask when you don't!
User | Count |
---|---|
125 | |
106 | |
99 | |
63 | |
62 |
User | Count |
---|---|
135 | |
116 | |
101 | |
71 | |
61 |