Forum Discussion
Need help mulitple line
- 5 years ago
Add a Custom Column to Table2 as:
Table.Column(Table1,"Column A")Expand the List to Rows to this:
let Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WMlSK1YlWMgKTxmDSBEyaKsXGAgA=", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [ColumnA = _t]), #"Changed Type" = Table.TransformColumnTypes(Source,{{"ColumnA", Int64.Type}}), #"Added Custom" = Table.AddColumn(#"Changed Type", "Custom", each Table.Column(Table1,"Column A")), #"Expanded Custom" = Table.ExpandListColumn(#"Added Custom", "Custom") in #"Expanded Custom" - 5 years ago
viferenc - I would recommend posting your follow-up issue as a new post. It is very likely someone else has a solution or better understanding of what you describe.
Dear Chris,
thank you for your help.
I had to modify a little bit, as I had to use more line.
See the formula below: (sorry it is in German)
let
Quelle = List.Numbers(1, 1000),
#"In Tabelle konvertiert" = Table.FromList(Quelle, Splitter.SplitByNothing(), null, null, ExtraValues.Error),
#"Hinzugefügte benutzerdefinierte Spalte" = Table.AddColumn(#"In Tabelle konvertiert", "Custom", each Table.Column(Table1,"ColumnA")),
#"Expanded Custom" = Table.ExpandListColumn(#"Hinzugefügte benutzerdefinierte Spalte", "Custom")
in
#"Expanded Custom"
The problem is when the query is running, it is loading millions of line although altogether it should be only 92000 lines. (1000*92)
Is there any possibility to reduce the number of loading lines because at the end I have to use instead of 1.000 lines 1.000.000 lines
I calculated to load 92*1.000.000=92.000.000 lines and not billions of lines during the loading process. (I have 92 different trucks, they run 1.000.000 km and for each km I´m planning to show average fuel consumption to be able to calculate for each transport the fuel consumption)
If there is any possibility to help me it would be great.
Thank you very much for your help.
Feri
viferenc - I would recommend posting your follow-up issue as a new post. It is very likely someone else has a solution or better understanding of what you describe.