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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Grumelo
Advocate II
Advocate II

The Missing Values Pattern

I have a list of Projects, each of them have a Start Date.

Each month a Project Report is due for all running Projects (Project Start Date < Period EoM).

 

Business wants to track Projects not having the expected reports.

Data are shown below.

data.png

Data Model is as below

model.png

 

 

The tricky part is to calculate the measure 'Expected Report'.

 

The expected result look like below

expected_results.png

I have tried with the Lost Custormer Approach from the New and Returning Customers pattern.

Without success ...

 

Result so far in power BI, values are wrong, total are wrong

wrong.png

 

Any idea how to solve this challenge ?

 

Please have a look to the shared report

3 REPLIES 3
Grumelo
Advocate II
Advocate II

@marcorusso Any chance you may have a look? 

v-frfei-msft
Community Support
Community Support

Hi @Grumelo,

 

One sample for your reference.

 

1. Create two calculated column based on the sample table.

 

date = DATE(LEFT(Table1[Report Period],4),RIGHT(Table1[Report Period],2),1)
Periddate = EOMONTH(Table1[date],0)

2. Create a measure to achieve the goal.

 

Excepted result = IF(MAX(Table1[Starting Date])<=MAX(Table1[Periddate]),1,0)

3. Also we can use a calculated column to work on it.

 

Excepted = IF(Table1[Starting Date]<=Table1[Periddate],1,0)

Capture.PNG

 

For more detials, please check the pbix as attached.

 

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

Data can't be manipulated, data model (edited original post) can't change.

 

Sample report is shared in the Topic message.

Helpful resources

Announcements
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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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