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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register 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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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