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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Calculate a column using other two using date condition

Hi folks , I have one table with these columns .

 

Closed | Closed things Cumulative Closed things

20/4/2018 | 2 | 2

22/4/2018 | 2 | 4

25/4/2018 | 5 | 9

 

 

'Actual opened things'

*THIS IS THE COLUMN I WANT TO CALCULATE

Which I want to be a Cumulative column which subtracts with the 'cumulative Closed things' only if

it has values on that date.*

 

Opened | Opened things | Cumulative Open things | Actual opened things

15/4/2018 | 10 | 0+10=10 | 10-0=0

17/4/2018 | 6 | 10+6=16 | 16-0=16

21/4/2018 | 9 | 16+9=25 | 25-2=23

26/4/2018 | 11 | 25+11=36 | 36-9=27

 

I want to see in each date how many things are opened , with that being said I want for each date Cumulative Open Things - Cumulative Closed Things (only if it has closed things on before that date )

 

Appreciate any help on Dax or something like that .

Thanks guys. Anything you don't understand please let me know .

0 REPLIES 0

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.

Top Solution Authors