Forum Discussion

Raja10ram's avatar
Raja10ram
Helper I
6 months ago
Solved

“Query has exceeded the available resources” in Power BI

Hi everyone, I’m facing a performance issue in Power BI where the report throws the error “Query has exceeded the available resources” while loading visuals. we are using this DAX Calculation. ...
  • v-hjannapu's avatar
    v-hjannapu
    6 months ago

    Hi Raja10ram,

    Thanks for the update.
    Since the same error is still coming even after using the PostingIndex logic, this looks like a data volume and visual-level issue rather than a DAX syntax problem. The opening balance is getting calculated for every row shown in the visual, and when the ledger table is large or when the visual contains columns like date, voucher number, and narration together, Power BI has to scan too many rows and it runs out of resources. This usually happens in Pro or shared capacity also. For large ledger data, calculating opening or running balance using DAX at transaction level is not recommended. The better and stable approach is to calculate the running opening balance in Power Query or at the source after sorting by date and voucher, and then use it directly in the report. This should avoid the resource error.

    Hope the above provided information help you resolve the issue, if you have any further concerns or queries, please feel free to reach out to us.
    Regards,
    Community Support Team.