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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
H_insight
Helper V
Helper V

Cluster Stores based on Sales value in a Direct Query Mode - Avoid row Limit of 1000000 rows

Hiya,

 

In my PBI model (Dual Mode), I have a couple of Dimensional tables (imported) connected to a single fact table (~700m rows via Direct Query) and they have one-to-many relationships and use a single cross filter. I am having some difficulties creating clustering measures or virtual table for stores by their sales due to the large volume of data in my fact table.

Below is the simple model:

H_insight_1-1678977823881.png

 

 

In my page I have slicers from DIM_GEOGRAPHY (State and City) and I can't use import mode as it will take forever.

 

Goal: I want to table or a virtual table that I can use without hitting the 1M rows error so I start to cluster my sales data.

For simplicity, here is the clustering option, if FACT_CONSUMER[Sale Value] between 0 to 33 then "poor", 34 to 66 then "Good", rest would be "Top".

 

Greatly appreciate any help.

 

 

1 REPLY 1
amitchandak
Super User
Super User

@H_insight , You can create an aggregated table in DB or in import mode

https://learn.microsoft.com/en-us/power-bi/transform-model/aggregations-advanced

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.