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
Anonymous
Not applicable

calender table

when I'm trying to create a calendar table
calender = calendar (MIN(project [contract start date],(MAX(project [contractenddate])..it is showing contract end date has some blank values,unable to create calendar table
1 ACCEPTED SOLUTION
v-eachen-msft
Community Support
Community Support

Hi @Anonymous ,

 

After my tests, blank values will not affect the result. You could check if your data used text type.

And you could add filter to ignore blank values.

calender =
CALENDAR (
    MIN ( project[contract start date] ),
    CALCULATE (
        MAX ( project[contractenddate] ),
        FILTER ( project, project[contractenddate] <> BLANK () )
    )
)

 

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

View solution in original post

3 REPLIES 3
v-eachen-msft
Community Support
Community Support

Hi @Anonymous ,

 

After my tests, blank values will not affect the result. You could check if your data used text type.

And you could add filter to ignore blank values.

calender =
CALENDAR (
    MIN ( project[contract start date] ),
    CALCULATE (
        MAX ( project[contractenddate] ),
        FILTER ( project, project[contractenddate] <> BLANK () )
    )
)

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.
littlemojopuppy
Community Champion
Community Champion

You could create it with CALENDARAUTO.  It'll look at all the date fields and create a continuous list from the first date found to the last one

az38
Community Champion
Community Champion

hi @Anonymous 

blank values shouldn't be an issue.

please, provide a data example to help you


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

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.