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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Grumelo
Advocate II
Advocate II

The Missing Values Pattern

Origianl Topic is there

 

https://community.powerbi.com/t5/Desktop/The-Missing-Values-Pattern/td-p/538927

 

Sorry for the confusion, post has been duplicated

5 REPLIES 5
Greg_Deckler
Community Champion
Community Champion

Am I missing something or is it as simple as, if Report Period is less than Project Starting Date then blank, otherwise 1?



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

It may works in the first table but total will be wrong and no correct answer in second table when no Period context is defined.

Dealing wih a calculated column won't help as well because we are dealing with data that does not exist.

Look carefuly to the available data at the top.

 

Hi @Grumelo,

Based on my test, you could refer to below steps:

Sample data:

1.PNG

Create two measures:

Expected reports measure = IF(MONTH(MAX('Table1'[Starting Date]))>MONTH(MAX('Table1'[Report period])),BLANK(),1)
Measure = SUMX('Table1','Table1'[Expected reports measure])

Result:

1.PNG

You could also download the pbix file to have a view.

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Look at my data model, there is no such table combining all projects and all periods. That would be too simple.

We are dealing with missing data, missing records.

 

Project P30 has no records at all in the Project Report Table and I'm trying to calculate how many are expected.

Hi @Grumelo,

Could you please share some sample file to have a test or share the pbix file if possible?

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

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.