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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
vijay273162
Helper III
Helper III

SUMMARIZE function

Hi All,

 

I have a Dimension table with millions of records.

 

I try to perform the SUMMARIZE function on this DIMENSION table, and it gives me "memory exceeds error".

 

What's the solution for this. 

 

BEST PRACTICE TO USE SUMMARIZE FUNCTION ON LARGE DIMENSION TABLE ?

2 REPLIES 2
vijay273162
Helper III
Helper III

Here is the screenshot and DAX code written from my side.

 

SUMMARIZECOLUMNS(table[ID],table[Document Type])

The problem is, SUMMARIZECOLUMNS didn't work when i include table[ID], since the records are large

(111 million).

 

vijay273162_0-1647931879637.png

How to overcome this ?

YukiK
Impactful Individual
Impactful Individual

What does your code look like? We shouldn't add columns within SUMMARIZE() as a rule of thumb. You can look at best practices in this article: https://www.sqlbi.com/articles/best-practices-using-summarize-and-addcolumns/

 

Please give it a thumbs up if this is helpful!

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.