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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.