Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
AmiraBedh
Most Valuable Professional
Most Valuable Professional

We reached the end of the buffer - Dataflow

I have the following dataflow containing :

AmiraBedh_0-1721291468696.png

The Entity and the GL/Mapping (I am sharing only screenshots for Entity since the GL/Mapping has the same) are failing to retrieve data when I check them, the sources seems to be pointing to inexisting dataflows :

AmiraBedh_1-1721291571912.png

AmiraBedh_2-1721291582684.png

When I check the workspace it is existing but the Dataflow I get this message :

AmiraBedh_3-1721291605160.png

The workspace pointing to the dataflow exists but the dataflow is missing but the error message is different :

I get this error message :

 

We reached the end of the buffer

 

section Section1;

shared #"AFAS Openingsbalans" = let

  /*#"2018" = let

    Source = Sql.Database("XXXXXXXXXXX.database.windows.net", "XXXXXXXXXXX"),

    afas_vw_FinancieleMutaties_Current = Source{[Schema="afas",Item="vw_getAllEmps"]}[Data],

    #"Filtered Rows" = Table.SelectRows(afas_vw_FinancieleMutaties_Current, each ([Jaar] < 2018) and ([Administratie_code] <> 1) and ([Administratie_code] <> 2) and [Dagboek_code] = "99"),

    #"Removed Other Columns" = Table.SelectColumns(#"Filtered Rows",{"Administratie_code", "Rekeningnummer", "Rekening_omschrijving", "Bedrag_saldo", "Verzamelen_op_rekeningnummer"}),

    #"Grouped rows" = Table.Group(#"Removed Other Columns", {"Administratie_code", "Rekeningnummer", "Rekening_omschrijving", "Verzamelen_op_rekeningnummer"}, {{"Bedrag_Saldo", each List.Sum([Bedrag_saldo]), type number}}),

    #"Added Year" = Table.AddColumn(#"Grouped rows", "Year", each 2018),

    #"Added Period" = Table.AddColumn(#"Added Year", "Period", each 0),

    #"Renamed columns" = Table.RenameColumns(#"Added Period", {{"Bedrag_Saldo", "Amount"}})

  in

    #"Renamed columns",

  #"2019" = let

    Source = Sql.Database("XXXXXXXXXXX.database.windows.net", "XXXXXXXXXXX"),

    afas_vw_FinancieleMutaties_Current = Source{[Schema="afas",Item="vw_getAllEmps"]}[Data],

    #"Filtered Rows" = Table.SelectRows(afas_vw_FinancieleMutaties_Current, each ([Jaar] < 2019) and ([Administratie_code] <> 1) and ([Administratie_code] <> 2)),

    #"Removed Other Columns" = Table.SelectColumns(#"Filtered Rows",{"Administratie_code", "Rekeningnummer", "Rekening_omschrijving", "Bedrag_saldo", "Verzamelen_op_rekeningnummer"}),

    #"Grouped rows" = Table.Group(#"Removed Other Columns", {"Administratie_code", "Rekeningnummer", "Rekening_omschrijving", "Verzamelen_op_rekeningnummer"}, {{"Bedrag_Saldo", each List.Sum([Bedrag_saldo]), type number}}),

    #"Added Year" = Table.AddColumn(#"Grouped rows", "Year", each 2019),

    #"Added Period" = Table.AddColumn(#"Added Year", "Period", each 0),

    #"Renamed columns" = Table.RenameColumns(#"Added Period", {{"Bedrag_Saldo", "Amount"}})

  in

    #"Renamed columns",

  #"2020" = let

    Source = Sql.Database("XXXXXXXXXXX.database.windows.net", "XXXXXXXXXXX"),

    afas_vw_FinancieleMutaties_Current = Source{[Schema="afas",Item="vw_getAllEmps"]}[Data],

    #"Filtered Rows" = Table.SelectRows(afas_vw_FinancieleMutaties_Current, each ([Jaar] < 2020) and ([Administratie_code] <> 1) and ([Administratie_code] <> 2)),

    #"Removed Other Columns" = Table.SelectColumns(#"Filtered Rows",{"Administratie_code", "Rekeningnummer", "Rekening_omschrijving", "Bedrag_saldo", "Verzamelen_op_rekeningnummer"}),

    #"Grouped rows" = Table.Group(#"Removed Other Columns", {"Administratie_code", "Rekeningnummer", "Rekening_omschrijving", "Verzamelen_op_rekeningnummer"}, {{"Bedrag_Saldo", each List.Sum([Bedrag_saldo]), type number}}),

    #"Added Year" = Table.AddColumn(#"Grouped rows", "Year", each 2020),

    #"Added Period" = Table.AddColumn(#"Added Year", "Period", each 0),

    #"Renamed columns" = Table.RenameColumns(#"Added Period", {{"Bedrag_Saldo", "Amount"}})

  in

    #"Renamed columns",

  #"2021" = let

    Source = Sql.Database("XXXXXXXXXXX.database.windows.net", "XXXXXXXXXXX"),

    afas_vw_FinancieleMutaties_Current = Source{[Schema="afas",Item="vw_getAllEmps"]}[Data],

    #"Filtered Rows" = Table.SelectRows(afas_vw_FinancieleMutaties_Current, each ([Jaar] < 2021) and ([Administratie_code] <> 1) and ([Administratie_code] <> 2)),

    #"Removed Other Columns" = Table.SelectColumns(#"Filtered Rows",{"Administratie_code", "Rekeningnummer", "Rekening_omschrijving", "Bedrag_saldo", "Verzamelen_op_rekeningnummer"}),

    #"Grouped rows" = Table.Group(#"Removed Other Columns", {"Administratie_code", "Rekeningnummer", "Rekening_omschrijving", "Verzamelen_op_rekeningnummer"}, {{"Bedrag_Saldo", each List.Sum([Bedrag_saldo]), type number}}),

    #"Added Year" = Table.AddColumn(#"Grouped rows", "Year", each 2021),

    #"Added Period" = Table.AddColumn(#"Added Year", "Period", each 0),

    #"Renamed columns" = Table.RenameColumns(#"Added Period", {{"Bedrag_Saldo", "Amount"}})

  in

    #"Renamed columns", */


Proud to be a Power BI Super User !

Microsoft Community : https://docs.microsoft.com/en-us/users/AmiraBedhiafi
Linkedin : https://www.linkedin.com/in/amira-bedhiafi/
StackOverflow : https://stackoverflow.com/users/9517769/amira-bedhiafi
C-Sharp Corner : https://www.c-sharpcorner.com/members/amira-bedhiafi
Power BI Community :https://community.powerbi.com/t5/user/viewprofilepage/user-id/332696
1 ACCEPTED SOLUTION
AmiraBedh
Most Valuable Professional
Most Valuable Professional

I ended up hardcoding the steps for 2 tables imported from a dataflow.

I will open a ticket to Microsoft to check why the Dataflows ID where changed since we didn't perform any actions from our side.


Proud to be a Power BI Super User !

Microsoft Community : https://docs.microsoft.com/en-us/users/AmiraBedhiafi
Linkedin : https://www.linkedin.com/in/amira-bedhiafi/
StackOverflow : https://stackoverflow.com/users/9517769/amira-bedhiafi
C-Sharp Corner : https://www.c-sharpcorner.com/members/amira-bedhiafi
Power BI Community :https://community.powerbi.com/t5/user/viewprofilepage/user-id/332696

View solution in original post

2 REPLIES 2
AmiraBedh
Most Valuable Professional
Most Valuable Professional

I ended up hardcoding the steps for 2 tables imported from a dataflow.

I will open a ticket to Microsoft to check why the Dataflows ID where changed since we didn't perform any actions from our side.


Proud to be a Power BI Super User !

Microsoft Community : https://docs.microsoft.com/en-us/users/AmiraBedhiafi
Linkedin : https://www.linkedin.com/in/amira-bedhiafi/
StackOverflow : https://stackoverflow.com/users/9517769/amira-bedhiafi
C-Sharp Corner : https://www.c-sharpcorner.com/members/amira-bedhiafi
Power BI Community :https://community.powerbi.com/t5/user/viewprofilepage/user-id/332696
v-yilong-msft
Community Support
Community Support

Hi @AmiraBedh ,

The error message “We reached the end of the buffer” suggests there might be an issue with the data retrieval process. This could be due to a timeout or a problem with the data source itself. So my suggestion would be to reconnect the dataflow or check the data source to make sure the dataflow is pointing to the correct and accessible data source. Double check the connection string and credentials.

vyilongmsft_0-1721353722214.pngvyilongmsft_1-1721353755901.png

Another thing, since the workspace exists but lacks dataflow, I think you can try to restore the dataflow from a backup, which will open the dataflow settings in the Admin portal. You can look at this document: Troubleshoot dataflow issues - creating dataflows - Power Query | Microsoft Learn

 

 

 

Best Regards

Yilong Zhou

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

November Update

Fabric Monthly Update - November 2024

Check out the November 2024 Fabric update to learn about new features.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.