Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
How we can import listed columns from excel ?
Fo example
i have sheet in which from A-Z column i just need A-C-U-D columns not rest, i know the option "remove Other Columns" but it should be have dynamically in query editor with those column name has in list in another table.
hope i am clear on my quetion
Thanks
Solved! Go to Solution.
Is this still the same question? My answer is to do with selecting columns where the column names are in a column (if that makes sense)
To make a column into a list, in Power Query, select the column and choose 'Convert to List' from the Transform menu.
If you get a list in Power Query with the column names in it, you can use that list in the main query
Table.SelectColumns(#"Renamed Columns", ColsList)
#"Renamed Columns" is just the previous step.
ColsList would be the name of the list
Is this still the same question? My answer is to do with selecting columns where the column names are in a column (if that makes sense)
To make a column into a list, in Power Query, select the column and choose 'Convert to List' from the Transform menu.
Hi , @Amardeep100115
Follow these steps:
1.Select the required columns in Excel and apply the table format
(insert ->table ->create table)
2.The when you connect to excel in powerbi, please choose the "table 1" instead of "sheet1"
The result will show as below: The table contains only the data you want
BTY, you also can convet this table back to range
Best Regards,
Community Support Team _ Eason
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I have 250 files in folders Every week we store same report and it's not possible to do this with each file Please share another way to do this in query editor
Hi , @Amardeep100115
I am a little confused, is your data source a folder containing 250 excel sheets or multiple excel sheets ?
If is a folder ,you may refer to this related post.
https://powerbi.tips/2016/08/load-multiple-excel-xlsx-files/
If the data source is from 250 separate tables and you want to still get 250 separate tables after modeling, there is no way.
Because even using function, only one table can be generated at a time
I'm sorry I have no good ideas for now. I would suggest you raise it to the support team for better advice.
Best Regards,
Community Support Team _ Eason
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
100 | |
80 | |
64 | |
58 |
User | Count |
---|---|
146 | |
110 | |
93 | |
84 | |
67 |