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
uif19085
Helper III
Helper III

Not enough Memory Error over a New Column

Hello, i'm trying to create a column to get the first day when a status is changing and flag it with TRUE, i've tried it
with less data and it works fine but when using over big data it gets me an memeory error, i only have 16GB RAM, what i'm thinking is to find a way to make this formula optimized or maybe if someone can helo me with some other solution. Thank you

Is First Day in State =
ISBLANK (CALCULATE (
    COUNTROWS ( FCA_Test ),
        ALLEXCEPT ( FCA_Test, FCA_Test[id] ),
        FCA_Test[updated] < EARLIER ( FCA_Test[updated] ),
        FCA_Test[status] = EARLIER ( FCA_Test[status] )
))

uif19085_0-1671462414413.png

 

1 REPLY 1
amitchandak
Super User
Super User

@uif19085 , Try to create rank first list this

Rankx(filter(FCA_Test, FCA_Test[id] = earlier(FCA_Test[id]) && FCA_Test[status] = EARLIER ( FCA_Test[status] )),FCA_Test[updated], ,asc,dense)

 

if needed use another column

 

or rank =1 can be used as filter

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
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