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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
n8ball
Advocate I
Advocate I

DATESINPERIOD creating a Blank on Date

I've been racking by brain on what would be causing the following. Here is my measure and the result below. Sum of NB$ doesn't have any blank dates. Date table is from 1/1/2022 to 12/31/2022. I'm getting the same result if I get rid of the CALCULATETABLE and dates in the past filter. I don't see any relationship errors between the Billings and Date table. Any guidance you can provide is appreciated. 

 

 

NB$ 12mo = 
CALCULATE (
    SUM ( Billings[NB$] ),
    CALCULATETABLE (
        DATESINPERIOD ( 'Date'[Date], MAX ( 'Date'[Date] ), -1, YEAR ),
        'Date'[DatesInThePast] = TRUE
    )
)

 


What the Blank?What the Blank?

1 ACCEPTED SOLUTION
n8ball
Advocate I
Advocate I

Well, I figured it out. 
I had a separate Fact Table (not referenced by this measure) that had dates outside the dates contained in my date table. The blank date above was eliminated, once I filtered this other fact table to match my datae table range.

View solution in original post

1 REPLY 1
n8ball
Advocate I
Advocate I

Well, I figured it out. 
I had a separate Fact Table (not referenced by this measure) that had dates outside the dates contained in my date table. The blank date above was eliminated, once I filtered this other fact table to match my datae table range.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.