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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Amani
Frequent Visitor

Cumulative Column

Hello,

 

I want to create a calculated column containing the cumulative premiums order by date. I tried many formula, but the result is not correct.

  1. Cumul 90% = CALCULATE(SUMX('Liste sans prio','Liste sans prio'[Primes]),FILTER('Liste sans prio','Liste sans prio'[Date déport]<=max('Liste sans prio'[Date déport])))
  2. Cumul 90 % = calculate(sum('Liste sans prio'[Primes]),'Liste sans prio'[Date déport]<=MAX('Liste sans prio'[Date déport]))
  3. Cumul 90 % = calculate(
    sum('Liste sans prio'[Primes]),
    DATESBETWEEN('calendar'[Date].[Date],FIRSTDATE('calendar'[Date].[Date]),LASTDATE('calendar'[Date].[Date])))
    Calendar is a table date
    Amani_0-1667290024200.png

     

Result first formula :
Amani_0-1667289570312.png
Result Second and Third Formula :

Amani_1-1667289683216.png

 

Best regards.

 

 

1 ACCEPTED SOLUTION
Amani
Frequent Visitor

I solved the problem by using this formula :

Cumul 90 % = calculate(
sum('Liste sans prio'[Primes]),
filter('Liste sans prio','Liste sans prio'[Date déport]<=EARLIER('Liste sans prio'[Date déport])))
 
Thx

View solution in original post

1 REPLY 1
Amani
Frequent Visitor

I solved the problem by using this formula :

Cumul 90 % = calculate(
sum('Liste sans prio'[Primes]),
filter('Liste sans prio','Liste sans prio'[Date déport]<=EARLIER('Liste sans prio'[Date déport])))
 
Thx

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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