Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hello Experts,
I am tryiting to find the cumulative sum . when using below code i was not able to chse my column after earlier function. Please suggest
Solved! Go to Solution.
Hi @Midhun ,
EARLIER function is useful to calculated column. Please check whether you are using it for measure.
You can use MAX function instead of EARLIER.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Midhun ,
EARLIER function is useful to calculated column. Please check whether you are using it for measure.
You can use MAX function instead of EARLIER.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I tried with your DAX, still facing an issue. stating that
ARLIER/EARLIEST refers to an earlier row context which doesn't exist.
DAX engine interprets this filter modifier
CALCULATE( ... Email_Campaign[Dummy_Date] <= EARLIER( Table[someColumn] ) )
as
= CALCULATE(
...,
FILTER(
ALL( Email_Campaign[Dummy_Date] ),
Email_Campaign[Dummy_Date] <= EARLIER( Table[someColumn] )
)
)
and FILTER( ... ) evaluates under the filter context outside CALCULATE(); obviously, there's no row context avaible for EARLIER.
| Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension! |
DAX is simple, but NOT EASY! |
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 8 | |
| 5 | |
| 5 | |
| 4 | |
| 4 |