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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
PhilC
Resolver I
Resolver I

Measure leveraging multiple date fields

Hi, 

 

I have a table for projects that has various dates representing different status values. I am looking to create a Success Rate for all Applications in the past 12 months.

 

The Application and Outcome (Successful or Unsuccessful) need to both be within that 12 month time period.

The Project ID is duplicated in the table, so a DISTINCTCOUNT is used initially.
Then, due to having multiple Dates, am using USERELATIONSHIP to apply the non active connection with the Date table.

The 12 Month rolling count of Applications seems to be working ok, however I am not sure how to then calculate [# Applications with Outcomes] and [# Successful Applications] measures, which form the basis of the Success Rate.

They will be subsets of the [# Applications (12M)] measure, with Outcomes needing to use FIRST_OUTCOME_DATE and Successes using FIRST_SUCCESSFUL_DATE

 

Measures are below for reference


Projects table includes the following fields that are relevant
PROJECT_ID, FIRST_SUBMITTED_DATE, FIRST_OUTCOME_DATE, FIRST_SUCCESSFUL_DATE

 

It is the FIRST_OUTCOME_DATE and FIRST_SUCCESSFUL_DATE fields that provides dates needed to create the 2 measures needed:

[# Applications (12M) with Outcome]

[# Successful Applications]

 

=[# Projects]
DISTINCTCOUNT(Projects[PROJECT_ID])

 

[# Applications]
=CALCULATE([# Projects],
USERELATIONSHIP(Dates[Date],Projects[FIRST_SUBMITTED_DATE]))

 

[# Applications (12M)]
=CALCULATE([# Applications],
DATESBETWEEN(Dates[Date],
NEXTDAY(SAMEPERIODLASTYEAR(LASTDATE(Dates[Date]))),
LASTDATE(Dates[Date])
)
)

 

[# Applications (12M) with Outcome]
???

 

[# Successful Applications]
????

 

Thanks in Advance

 

3 REPLIES 3
v-gizhi-msft
Community Support
Community Support

Hi,

 

Could you please share some sample data and an expected result as screenshots?

This will let me help you further.

Thanks!

 

Best Regards,

Giotto

Hi Giotto  @v-gizhi-msft ,

 

Thanks for the response.  As per most datesets, the actual data is confidential.  It will take a bit to pull together mocked up data and work through the desired outcomes. 

 

Was hoping someone might be able to point me in the right direction based on the information provided without data.

 

If no-one assists, will pull together a mockup and tag you when done.

 

Thanks again for your interest to assist.

Cheers

Phil

Hi,

 

Any good progress?

 

Best Regards,

Giotto

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.