Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
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)
Proud to be a Super User!
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)
Proud to be a Super User!
User | Count |
---|---|
102 | |
92 | |
85 | |
78 | |
71 |
User | Count |
---|---|
113 | |
104 | |
101 | |
73 | |
65 |