Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have to tables (1-Data, 2-Path). Table "Path" with only one row with path to folder. I try to paste path to folder from table "Path" for table "Data"
let
Source = Folder.Files(Path[Path to folder]).
Expression.Error: We cannot convert a value of type List to type Text..
Value=List
Type=Type
Solved! Go to Solution.
You mean you get an error message. Why don't you mention that it is an error message?
Anyhow, you can prevent that error by adjusting the Privacy Level setting in File - Options and Settings - Options:
The single argument for Folder.Files is path, so it is unclear what you try to concatenate.
Example: this is the path to my DateTimeTables folder:
= Folder.Files("C:\Users\Marcel\OneDrive - Bemint\Office 365\Power Query\DateTimeTables")
Can you explain what you try to achieve?
If i write with mistakes, Im sorry for my english.
I have a file "Data.xlsx", which updates every month and folder name changes every month too
Path to file ("Data march.xlsx")
1. C:\Work\3. March\Data march.xlsx
2. C:\Work\4. April\Data april.xlsx and so on
In Power BI i make a inquiry to excel files from folder C:\Work\3. March\ than make excel file (Path to folder) with only one table with one row, which automatically get path to file (C:\Work\3. March\, C:\Work\4. April\ and so on).
I would like to automatically update the path to folder in inquiry for file "Data.xlsx" , so the path for source Source =Folder.Files ("C:\Work\3. March") is now, i try get the path from inquiry/table "Path to folder". Table "Path to folder" have column with name "Path" and one row with the path to folder ("C:\Work\4. April\")
Then you can use:
let Source = Folder.Files(#"Path to folder"[Path]{0}) in Source
I try it.
The inquiry "Data" (a step "Source") refers to other inquiries or stages and can't address data source directly. Change this combination of data.
You mean you get an error message. Why don't you mention that it is an error message?
Anyhow, you can prevent that error by adjusting the Privacy Level setting in File - Options and Settings - Options:
I am sorry, that i don't write it was a mistake.
I change Privacy Levels. Now it works. Thank you very much.
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
71 | |
70 | |
38 | |
28 | |
26 |
User | Count |
---|---|
98 | |
96 | |
59 | |
44 | |
40 |