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