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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.