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
bhmiller89
Helper V
Helper V

IF, THEN using dates

First 90 Days = CALCULATE(SUM('dpmgr vwJMWebSalesOpportunitiesProduction'[MRRNormalized$]), 'dpmgr vwJMWebSalesOpportunitiesProduction'[Consolidated Department] <> "Existing Clients", 'dpmgr vwJMWebSalesOpportunitiesProduction'[CloseDate] >= *******

 

Where I have the ****** I am trying to write another, different date column. There are relationships between the two tables, but I'm not sure why it won't let me select a date. 

 

Every client has a "First Execution Date" and I added a column "First Execution DAte + 90 DAys". I need to determine the SUM of MRR$ where the Close Date >= "First Execution Date + 90 Days" 

1 ACCEPTED SOLUTION
alena2k
Resolver IV
Resolver IV

Try to include FILTER(), somehting like

First 90 Days = CALCULATE(SUM('dpmgr vwJMWebSalesOpportunitiesProduction'[MRRNormalized$]),

FILTER('dpmgr vwJMWebSalesOpportunitiesProduction','dpmgr vwJMWebSalesOpportunitiesProduction'[Consolidated Department] <> "Existing Clients", 'dpmgr vwJMWebSalesOpportunitiesProduction'[CloseDate] >= *******)

It should allow to enter date and if relationships are correct should work. Or at least tell you what it doesn't work 🙂

View solution in original post

2 REPLIES 2
Ashish_Mathur
Super User
Super User

Hi,

 

Share the link from where i can download your file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
alena2k
Resolver IV
Resolver IV

Try to include FILTER(), somehting like

First 90 Days = CALCULATE(SUM('dpmgr vwJMWebSalesOpportunitiesProduction'[MRRNormalized$]),

FILTER('dpmgr vwJMWebSalesOpportunitiesProduction','dpmgr vwJMWebSalesOpportunitiesProduction'[Consolidated Department] <> "Existing Clients", 'dpmgr vwJMWebSalesOpportunitiesProduction'[CloseDate] >= *******)

It should allow to enter date and if relationships are correct should work. Or at least tell you what it doesn't work 🙂

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!

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
Top Kudoed Authors