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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.