• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

My Online Training Hub

Learn Dashboards, Excel, Power BI, Power Query, Power Pivot

  • Courses
  • Pricing
    • Free Courses
    • Power BI Course
    • Excel Power Query Course
    • Power Pivot and DAX Course
    • Excel Dashboard Course
    • Excel PivotTable Course – Quick Start
    • Advanced Excel Formulas Course
    • Excel Expert Advanced Excel Training
    • Excel Tables Course
    • Excel, Word, Outlook
    • Financial Modelling Course
    • Excel PivotTable Course
    • Excel for Customer Service Professionals
    • Excel for Operations Management Course
    • Excel for Decision Making Under Uncertainty Course
    • Excel for Finance Course
    • Excel Analysis ToolPak Course
    • Multi-User Pricing
  • Resources
    • Free Downloads
    • Excel Functions Explained
    • Excel Formulas
    • Excel Add-ins
    • IF Function
      • Excel IF Statement Explained
      • Excel IF AND OR Functions
      • IF Formula Builder
    • Time & Dates in Excel
      • Excel Date & Time
      • Calculating Time in Excel
      • Excel Time Calculation Tricks
      • Excel Date and Time Formatting
    • Excel Keyboard Shortcuts
    • Excel Custom Number Format Guide
    • Pivot Tables Guide
    • VLOOKUP Guide
    • ALT Codes
    • Excel VBA & Macros
    • Excel User Forms
    • VBA String Functions
  • Members
    • Login
    • Password Reset
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member

Table Buffer Syntax Error Expecting Token Equal|Power Query|Excel Forum|My Online Training Hub

You are here: Home / Table Buffer Syntax Error Expecting Token Equal|Power Query|Excel Forum|My Online Training Hub
Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search|Last Search Results
Search
Forum Scope




Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Search Search
sp_RankInfo
Lost password?
sp_CrumbsHome HomeExcel ForumPower QueryTable Buffer Syntax Error Expecting…
sp_PrintTopic sp_TopicIcon
Table Buffer Syntax Error Expecting Token Equal
Avatar
Jiří Hanzlíček

Active Member
Members
Level 0
Forum Posts: 3
Member Since:
February 14, 2020
sp_UserOfflineSmall Offline
1
February 14, 2020 - 4:47 am
sp_Permalink sp_Print

Hi,

maybe I'm dumb, but I cannot do the Table.Buffer syntax properly (excel told me that "expecting token equal"). Where and how have to implment it to work properly to my code, please? - Thank you very much in advance for example...

let
Zdroj = Table.Combine({statistikaProdeje302016, statistikaProdeje302019, statistikaProdeje302020, statistikaProdeje356138})),
Oprava_Dupl_Obj = Table.ReplaceValue (Zdroj,each [Doklad], each if [Doklad] = "P152400" and [Datum] = #date(2019,7,18) then "P152400_2" else [Doklad], Replacer.ReplaceValue, {"Doklad"}),
#"Změněný typ2" = Table.TransformColumnTypes(Oprava_Dupl_Obj,{{"Doklad", type text}, {"Eshop", type text}}),
#"Seřazené řádky" = Table.Sort(#"Změněný typ2",{{"Datum", Order.Ascending}}),
#"Sloučené dotazy" = Table.NestedJoin(#"Seřazené řádky",{"Doklad"},Obj_Par_kontr,{"Doklad"},"Obj_Par_kontr",JoinKind.LeftOuter),
#"Rozbalené Obj_Par_kontr" = Table.ExpandTableColumn(#"Sloučené dotazy", "Obj_Par_kontr", {"Dat. dokladu", "Hodnota dokl."}, {"Obj_Par_kontr.Dat. dokladu", "Obj_Par_kontr.Hodnota dokl."}),
#"Přejmenované sloupce" = Table.RenameColumns(#"Rozbalené Obj_Par_kontr",{{"Obj_Par_kontr.Dat. dokladu", "Dat. dokladu_ok"}, {"Obj_Par_kontr.Hodnota dokl.", "Hodnota dokl._celk_ok"}}),
#"Odebrané duplicitní položky" = Table.Distinct(#"Přejmenované sloupce"),
#"Seskupené řádky" = Table.Group(#"Odebrané duplicitní položky", {"Doklad", "Kód zboží"}, {{"TabRows", each _, type table}}),
OpakIndexKir = Table.AddColumn(#"Seskupené řádky", "Opak_Index", each Table.AddIndexColumn([TabRows], "OpakIndexKir",0,1)),
#"Odebrané ostatní sloupce" = Table.SelectColumns(OpakIndexKir,{"Opak_Index"}),
#"Rozbalené Opak_Index" = Table.ExpandTableColumn(#"Odebrané ostatní sloupce", "Opak_Index", {"Kód zboží", "Název zboží", "Běžná cena", "Prodejní cena", "Množství", "Celkem běžná cena", "Celkem prodejní cena", "Sleva", "Sleva procentuální", "Sleva bonus gratis", "Sleva finanční úč.", "Sleva bodové konto", "Finanční sleva", "Slevový kupon", "Eshop", "Druh dokladu", "Doklad", "Číslo objednávky BOSS", "Čís.obj.ESHOP", "Datum", "Dodávka voucher číslo", "Cislo_storna", "Pobočka", "Dat. dokladu_ok", "Hodnota dokl._celk_ok", "OpakIndexKir"}, {"Kód zboží", "Název zboží", "Běžná cena", "Prodejní cena", "Množství", "Celkem běžná cena", "Celkem prodejní cena", "Sleva", "Sleva procentuální", "Sleva bonus gratis", "Sleva finanční úč.", "Sleva bodové konto", "Finanční sleva", "Slevový kupon", "Eshop", "Druh dokladu", "Doklad", "Číslo objednávky BOSS", "Čís.obj.ESHOP", "Datum", "Dodávka voucher číslo", "Cislo_storna", "Pobočka", "Dat. dokladu_ok", "Hodnota dokl._celk_ok", "OpakIndexKir"}),
#"Změněný typ" = Table.TransformColumnTypes(#"Rozbalené Opak_Index",{{"Kód zboží", type text}, {"Název zboží", type text}, {"Běžná cena", type number}, {"Prodejní cena", type number}, {"Množství", Int64.Type}, {"Celkem běžná cena", type number}, {"Celkem prodejní cena", type number}, {"Sleva", type number}, {"Eshop", type logical}, {"Druh dokladu", type text}, {"Doklad", type text}, {"Čís.obj.ESHOP", type text}, {"Datum", type date}, {"Sleva procentuální", type number}, {"Sleva bonus gratis", type number}, {"Sleva finanční úč.", type number}, {"Sleva bodové konto", type number}, {"Finanční sleva", type number}, {"Slevový kupon", type number}, {"Dodávka voucher číslo", type text}, {"Cislo_storna", type text}, {"Pobočka", type text}, {"Dat. dokladu_ok", type date}, {"Hodnota dokl._celk_ok", type number}, {"OpakIndexKir", Int64.Type}, {"Číslo objednávky BOSS", type text}}),
#"Změněný typ1" = Table.TransformColumnTypes(#"Změněný typ",{{"Doklad", type text}}),
#"Nahrazená hodnota" = Table.ReplaceValue(#"Změněný typ1","c","C",Replacer.ReplaceText,{"Kód zboží"})
in
#"Nahrazená hodnota"

Avatar
Jiří Hanzlíček

Active Member
Members
Level 0
Forum Posts: 3
Member Since:
February 14, 2020
sp_UserOfflineSmall Offline
2
February 14, 2020 - 5:32 am
sp_Permalink sp_Print sp_EditHistory

And last question - have I to "buffer" calculated table on every other "step" (in next calculation when its used) or only buffer sources? I have to mention, that I have to use 32bit excel (company policy).

And last thing - it will take a long time, than in right-down corner appears something "reading" - is it normal, and if not - how to solve it... Or what it means...

 

Thank you again

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Kim Knox, Mitchell Dahms, michael serna, Kathryn Patton
Guest(s) 11
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 871
Purfleet: 412
Frans Visser: 346
David_Ng: 306
lea cohen: 219
Jessica Stewart: 204
A.Maurizio: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
Kathryn Patton
Maria Conatser
Jefferson Granemann
Glen Coulthard
Nikki Fox
Rachele Dickie
Raj Mattoo
Mark Luke
terimeri dooriyan
Jack Aston
Forum Stats:
Groups: 3
Forums: 24
Topics: 6221
Posts: 27285

 

Member Stats:
Guest Posters: 49
Members: 31909
Moderators: 3
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: MOTH Support, Velouria, Riny van Eekelen
© Simple:Press —sp_Information

Sidebar

Blog Categories

  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • Excel PivotTables
  • Excel Shortcuts
  • Excel VBA
  • General Tips
  • Online Training
  • Outlook
  • Power Apps
  • Power Automate
  • Power BI
  • Power Pivot
  • Power Query
microsoft mvp logo
trustpilot excellent rating
Secured by Sucuri Badge
MyOnlineTrainingHub on YouTube Mynda Treacy on Linked In Mynda Treacy on Instagram Mynda Treacy on Twitter Mynda Treacy on Pinterest MyOnlineTrainingHub on Facebook
 

Company

  • About My Online Training Hub
  • Disclosure Statement
  • Frequently Asked Questions
  • Guarantee
  • Privacy Policy
  • Terms & Conditions
  • Testimonials
  • Become an Affiliate

Support

  • Contact
  • Forum
  • Helpdesk - For Technical Issues

Copyright © 2023 · My Online Training Hub · All Rights Reserved. Microsoft and the Microsoft Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Product names, logos, brands, and other trademarks featured or referred to within this website are the property of their respective trademark holders.