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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
tecumseh
Helper V
Helper V

DAX Query Not Enough Memory

Hi all,

Using PBID Oct, 2024.
16 GB Ram
64 bit Windows

Getting Memory errors in both DAX Query View and DAX Studio
Fact table is only 61K rows, dim tables are much less.|
Any ideas?


/* START QUERY BUILDER */
EVALUATE
SUMMARIZECOLUMNS(
    dimAccounts[Account],
    dimAccounts[Account Description],
    GL_Data[Vendor ID],
    dimVendors[Vendor_Normal],
    GL_Data[Description],
    GL_Data[Amount],
    GL_Data[Year],
    KEEPFILTERS( FILTER( ALL( GL_Data[Vendor ID] ), NOT( ISBLANK( GL_Data[Vendor ID] ))))
)
ORDER BY 
    dimAccounts[Account] ASC,
    dimAccounts[Account Description] ASC,
    GL_Data[Vendor ID] ASC,
    dimVendors[Vendor_Normal] ASC,
    GL_Data[Description] ASC,
    GL_Data[Amount] ASC,
    GL_Data[Year] ASC
/* END QUERY BUILDER */

 

Thanks,

-w

 

1 ACCEPTED SOLUTION
PijushRoy
Super User
Super User

Hi @tecumseh 

Can you please check below code, please share status

EVALUATE
VAR FilteredGLData =
    FILTER(
        GL_Data,
        NOT(ISBLANK(GL_Data[Vendor ID]))
    )

RETURN
SUMMARIZECOLUMNS(
    dimAccounts[Account],
    dimAccounts[Account Description],
    GL_Data[Vendor ID],
    dimVendors[Vendor_Normal],
    GL_Data[Description],
    GL_Data[Amount],
    GL_Data[Year],
    KEEPFILTERS(FilteredGLData)
)
ORDER BY 
    dimAccounts[Account] ASC,
    dimAccounts[Account Description] ASC,
    GL_Data[Vendor ID] ASC,
    dimVendors[Vendor_Normal] ASC,
    GL_Data[Description] ASC,
    GL_Data[Amount] ASC,
    GL_Data[Year] ASC

 




Did I answer your question? Mark my post as a solution!
Appreciate your Like/Kudos

Proud to be a Super User!





View solution in original post

3 REPLIES 3
tecumseh
Helper V
Helper V

Thanks @PijushRoy ,

That solved it - thanks!

You are welcome




Did I answer your question? Mark my post as a solution!
Appreciate your Like/Kudos

Proud to be a Super User!





PijushRoy
Super User
Super User

Hi @tecumseh 

Can you please check below code, please share status

EVALUATE
VAR FilteredGLData =
    FILTER(
        GL_Data,
        NOT(ISBLANK(GL_Data[Vendor ID]))
    )

RETURN
SUMMARIZECOLUMNS(
    dimAccounts[Account],
    dimAccounts[Account Description],
    GL_Data[Vendor ID],
    dimVendors[Vendor_Normal],
    GL_Data[Description],
    GL_Data[Amount],
    GL_Data[Year],
    KEEPFILTERS(FilteredGLData)
)
ORDER BY 
    dimAccounts[Account] ASC,
    dimAccounts[Account Description] ASC,
    GL_Data[Vendor ID] ASC,
    dimVendors[Vendor_Normal] ASC,
    GL_Data[Description] ASC,
    GL_Data[Amount] ASC,
    GL_Data[Year] ASC

 




Did I answer your question? Mark my post as a solution!
Appreciate your Like/Kudos

Proud to be a Super User!





Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.

Top Solution Authors