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
arnomics
Helper I
Helper I

Help with Summarize or an alternative to it

Hi all,

 

I am stuck trying to make a Measure work but been having issues with it. 

In the below measure I am trying to identify $ value based on certain conditions. I've come up with the below which works fine when I have handful of dates selected. Basically it returns $ value based on the date. 

 

But when I have more than 10 dates on the visual, it runs into the memory error " Visual has exceeded available resources".

I'm gusessing the SUMMARIZE is causing this issue.  I am stuck as of now and unable to move forward. I was hoping someone could help with this. Not sure what other approach I could use, if I did not want to SUMMARIZE perhaps. 

 

Thanks in advance.

 

Conditional Value $ =
VAR QualifyingAccountIDs =
    FILTER ( 'Account', [Opening Value ($)] + [Today Value ($)] <> 0 )
VAR _CalTableAcct =
    CALCULATETABLE (
        SUMMARIZE (
            QualifyingAccountIDs,
            'Account'[Account Id],
            "Category1", [Category 1 - Cancelled ($)],
            "Category2", [Category 2 - Cancelled ($)],
            "TODAY", [Today Value ($)],
            "OPENING", [Opening Value ($)]
        ),
        REMOVEFILTERS ( 'Sales' )
    )
RETURN
    SUMX (
        _CalTableAcct,
        IF ( [OPENING] <> 0 && [TODAY] = 0, [Category1] + [Category2], 0 )
    )

 

 

3 REPLIES 3
some_bih
Super User
Super User

Hi @arnomics try to summarize it firtly then use FILTER





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!






some_bih
Super User
Super User

Hi @arnomics 

part below in really working? Do you get results?

FILTER ( 'Account', [Opening Value ($)] + [Today Value ($)] <> 0 )





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!






@some_bih  I looked it up through DAX Studio & can confirm it returns a Filtered table with all columns from 'Account'

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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
Top Kudoed Authors