Forum Discussion

SaravananM's avatar
SaravananM
Frequent Visitor
4 years ago
Solved

PowerBI data refresh failures

I got the below error message for all the reports which I have scheduled in PowerBI service.. Till last week everything goes fine with the same set of dataset. Kindly help me to get it resolve..

 

Data source error:The operation was throttled by Power BI Premium because there were too many datasets being processed concurrently. Please try again later.
  • Hi, SaravananM 

     

    The error reported for you is that the advanced capacity needs to be optimized. You can try to optimize the model.

     

    Consider the optimization possibilities for a DirectQuery model. 

    At the datasource layer:

    • The datasource can be optimized to ensure the fastest possible querying by pre-integrating data (which is not possible at the model layer), applying appropriate indexes, defining table partitions, materializing summarized data (with indexed views), and minimizing the amount of calculation. The best experience is achieved when pass-through queries need only filter and perform inner joins between indexed tables or views.
    • Ensure that gateways have enough resources, preferably on dedicated machines, with sufficient network bandwidth and in close proximity to the datasource.

    At the model layer:

    • Power Query query designs should preferably apply no transformations - otherwise attempt to keep transformations to an absolute minimum.
    • Model query performance can be improved by configuring single direction relationships unless there is a compelling reason to allow bi-directional filtering. Also, model relationships should be configured to assume referential integrity is enforced (when this is the case) and will result in datasource queries using more efficient inner joins (instead of outer joins).
    • Avoid creating Power Query query custom columns or model calculated column - materialize these in the datasource, when possible.
    • There may be opportunity to tune DAX expressions for measures and RLS rules, perhaps rewriting logic to avoid expensive formulas.

    The size of a Premium capacity determines its available memory and processor resources and limits imposed on the capacity. The number of Premium capacities is also a consideration, as creating multiple Premium capacities can help isolate workloads from each other.

     

    For more information on optimization, please refer to this document. https://docs.microsoft.com/power-bi/admin/service-premium-capacity-optimize 

     

    Best Regards,

    Community Support Team _Charlotte

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

6 Replies

  • MikeJohnsonZA's avatar
    MikeJohnsonZA
    Responsive Resident

    Hi

     

    This error does not mean that there is a problem with your report but rather the entire Premium capacity. More than likely someone has created a report(or reports) that is consuming all the resources.

     

    To better understand what is going on you can use the Premium Metric App: Power BI Premium Metrics app - Power BI | Microsoft Docs

     

    You will need the Power BI capacity administrator to set this up for you if you are not the administrator.

     

    Regards

    Michael Johnson

    If this or other posts helped you, please consider giving it a thumbs up or even marking this as the solution.

    • SaravananM's avatar
      SaravananM
      Frequent Visitor

      Thanks Michael, I have the Premium Metrics App now and the Query waits showing as Unhealthy..

       

      Also How to change the date time stamp in the metris App.. Now its shows the current date as FEB 11 in all the metrics App reports.

      • SaravananM's avatar
        SaravananM
        Frequent Visitor

        Hi Michael, Also I need to know how to kill those long running session in PowerBI service.

  • v-zhangti's avatar
    v-zhangti
    Community Support

    Hi, SaravananM 

     

    The error reported for you is that the advanced capacity needs to be optimized. You can try to optimize the model.

     

    Consider the optimization possibilities for a DirectQuery model. 

    At the datasource layer:

    • The datasource can be optimized to ensure the fastest possible querying by pre-integrating data (which is not possible at the model layer), applying appropriate indexes, defining table partitions, materializing summarized data (with indexed views), and minimizing the amount of calculation. The best experience is achieved when pass-through queries need only filter and perform inner joins between indexed tables or views.
    • Ensure that gateways have enough resources, preferably on dedicated machines, with sufficient network bandwidth and in close proximity to the datasource.

    At the model layer:

    • Power Query query designs should preferably apply no transformations - otherwise attempt to keep transformations to an absolute minimum.
    • Model query performance can be improved by configuring single direction relationships unless there is a compelling reason to allow bi-directional filtering. Also, model relationships should be configured to assume referential integrity is enforced (when this is the case) and will result in datasource queries using more efficient inner joins (instead of outer joins).
    • Avoid creating Power Query query custom columns or model calculated column - materialize these in the datasource, when possible.
    • There may be opportunity to tune DAX expressions for measures and RLS rules, perhaps rewriting logic to avoid expensive formulas.

    The size of a Premium capacity determines its available memory and processor resources and limits imposed on the capacity. The number of Premium capacities is also a consideration, as creating multiple Premium capacities can help isolate workloads from each other.

     

    For more information on optimization, please refer to this document. https://docs.microsoft.com/power-bi/admin/service-premium-capacity-optimize 

     

    Best Regards,

    Community Support Team _Charlotte

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

  • v-zhangti's avatar
    v-zhangti
    Community Support

    Hi, SaravananM 

     

    Has your problem been solved, if so, please consider Accept a correct reply as the solution or share your own solution to help others find it.

     

    Best Regards