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

Creating a measure to meet three specific conditions for Quarter pipeline metric.

Trying to figure out what the best method to create a metric used for my pipeline report. I'm looking at Opportunites that has to satisfy three rules: 1) create date < current quarter start data, 2) close date is >= current quarter start date, and 3) close date is <= current quarter close date. There's currently a slicer being used on the page FYI. So I feel that it would have to be built into the measure.

2 REPLIES 2
Nathaniel_C
Community Champion
Community Champion

Hi @Anonymous ,

Perhaps something like this:


Let me know if you have any questions.

If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel

 

 

 

 

 

Opportunity = var CreateDate= Date< current quarter start date
                       var CloseDate >=Date <current quarter start date && Date <= current quarter end date

 Final = CALCULATE(measure), FILTER(ALL(Table),Table[Col] = CreateDate,Table[Col2] = CloseDate))

return Final

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Anonymous
Not applicable

I had a little trouble. I was able to get the following to work -

 

Test Pipeline = CALCULATE(SUM(OpportunityFORREPORTING[opportunity.Net_New_Sales__c]), OpportunityFORREPORTING[opportunity.CreatedDate] <DATE(2019,10,01), AND(OpportunityFORREPORTING[opportunity.CloseDate] >=DATE(2019,10,01), OpportunityFORREPORTING[opportunity.CloseDate] <=DATE(2020,01,01)))
 
However, I need this to be dynamic and right now it's static.
 

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!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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