Forum Discussion

dp106's avatar
dp106
Helper I
8 years ago

Direct Query limitations on single row.

 

Hi,

 

I am using power BI service and report is connected to Oracle DB in direct query mode. On-Premise gateway is installed on my local desktop as test.

 

When i access the report i get the below error message. I am not able to track the row that causes this error as the message seems to be appering very random(sometime it works fine).

 

amount of single row data on the gateway client has reached the maximum Mb size for a single row

 

I have reduced the number of columns to the bare minimum needed but still getting the same error.

 

Has anyone faced similar issues.

 

Thanks.

20 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Does your data contain binary type columns (i.e. files held in the data)?

    • dp106's avatar
      dp106
      Helper I
      No binary fields.. all data types are varchar2. The error seems to be very random.
      • Anonymous's avatar
        Anonymous
        Not applicable

        Same issue here, happend all of a sudden....

        Did you already find a solution? 

         

         

  • v-piga-msft's avatar
    v-piga-msft
    Resident Rockstar

    Hi dp106,

     

    It seems that this error will occur if you have a single row greater than 4 MB in size. You will need to determine what the row is from your data source and attempt to filter it out or reduce the size for that row.

     

    Best  Regards,

    Cherry

    • dp106's avatar
      dp106
      Helper I

      I know the cause of the error, but unable to track the row that is causing the error. It does work fine i query Subset of the dataset.

       

      Do we have any kind of logging to trace the the record that is causing the error ?

      • v-piga-msft's avatar
        v-piga-msft
        Resident Rockstar

        Hi dp106,


         Do we have any kind of logging to trace the the record that is causing the error ?


        You need to find the column which contains large size in your Oracle DataBase and reduce it.

         

        Best Regards,

        Cherry

  • jtavolaro's avatar
    jtavolaro
    Regular Visitor

    I also ran into the limitations issue recently.  Using direct query, with an SQL statement selecting only the needed columns.  But I added a calculated field to the result, generating a URL, and this apparantly threw the record size off dramatically.  It's confusing because the same formula is used for multiple reports, just this one had an issue.

     

  • Hello,

     

    I've the same issue.

    I calculated the maximum size of 1 row and that doesn't exceed the 600 bytes...

     

    Is this issue appeared since an update in Power BI services?

     

    Regards,

    Joost

    • dp106's avatar
      dp106
      Helper I

      Hi,

       

      I identifed records having maximum bytes (top 30) and then tried to fetch all those records in power bi (service) and it seems to working fine. It only errors when i try to fetch a larger dataset.

       

       

      • v-piga-msft's avatar
        v-piga-msft
        Resident Rockstar

        Hi dp106,

         

        If you have solved your problem, please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.

         

        Best Regards,

        Cherry

  • pciavarella's avatar
    pciavarella
    Regular Visitor

    Same issue here - direct query against Oracle database results in 3.5 million rows by 19 columns, including columns with long hyperlinks.  This worked fine until this month (August) but now  can't display the result.  Same error message, "The amount of a single row data on the gateway client has reached the maximum MB size for a single row."

  • pciavarella's avatar
    pciavarella
    Regular Visitor

    Same issue here - direct query against Oracle database results in 3.5 million rows by 19 columns, including columns with long hyperlinks.  This worked fine until this month (August) but now  can't display the result.  Same error message, "The amount of a single row data on the gateway client has reached the maximum MB size for a single row."