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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

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.