Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi,
Could you help me to translate in human language what the code below is doing ? I have a difference in a PBI that was created by other person and I'm trying to understan what involves the following step:
= (Parameter1 as binary) => let
Source = Csv.Document(Parameter1,[Delimiter=",", Columns=12, Encoding=65001, QuoteStyle=QuoteStyle.None]),
#"Promoted Headers" = Table.PromoteHeaders(Source, [PromoteAllScalars=true])
in
#"Promoted Headers"
Solved! Go to Solution.
Hi @cristianml
The code creates a column of tables similar to the one below (the column name is what you define in the custom function) which source files are a CSV, where the delimiter is a comma "," and just the first 12 columns. Then after connecting, promotes the first row as the header.
After this, you can either click on the word Table to open up just a single table or click the expand button to combine all tables (if there are more than one row of tables)
Hi @cristianml
The code creates a column of tables similar to the one below (the column name is what you define in the custom function) which source files are a CSV, where the delimiter is a comma "," and just the first 12 columns. Then after connecting, promotes the first row as the header.
After this, you can either click on the word Table to open up just a single table or click the expand button to combine all tables (if there are more than one row of tables)
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
56 | |
55 | |
54 | |
37 | |
29 |
User | Count |
---|---|
77 | |
62 | |
45 | |
40 | |
40 |