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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.