Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
9 months ago
Solved

Hybrid Model In PBI

I have a report with fact and dimensions . My fact is direct query and my dimensions are import . I have around 20 slicers from dimension tables and I have created few measures which are only based o...
  • v-hjannapu's avatar
    v-hjannapu
    8 months ago

    Hello Anonymous,

    Thank you  for reaching out to the Microsoft fabric community forum.

    I would also take a moment to thank ajaybabuinturi , ThomasWeppler for actively participating in the community forum and for the solutions you’ve been sharing in the community forum. Your contributions make a real difference.

    Right now your fact table is DirectQuery and all your dimension tables are Import. Because of this mix, Power BI is trying to pull a huge amount of fact data locally to match it with the imported dimensions. When the data is very large like your 500M fact rows, this step crosses the allowed limit and you get that error, even for a simple COUNT.

    If you can, try keeping your dimension tables also in DirectQuery. Then all the filtering and joining will happen directly in the database, and Power BI will only receive the final number. In that case, your COUNTROWS on the fact should work fine.

    Hope this helps if you have any queries we are  happy to assist you further.
    Regards,
    Community Suppport Team.