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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
gianmarco
Helper IV
Helper IV

How to filter CALENDARAUTO()

Dear All,

I have a CALENDARAUTO() table in my data model.

 

It automatically takes all the dates in my tables. But i would like to exclude some of those.

Is there a way I can filter this table to exclude some dates it automatically takes?

 

1 ACCEPTED SOLUTION
v-jingzhang
Community Support
Community Support

Hi @gianmarco 

 

You can filter the table generated with CALENDARAUTO. For example,

vjingzhang_0-1658460954080.png

 

But can you please give more details about which dates you want to exclude from it? 

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

View solution in original post

2 REPLIES 2
v-jingzhang
Community Support
Community Support

Hi @gianmarco 

 

You can filter the table generated with CALENDARAUTO. For example,

vjingzhang_0-1658460954080.png

 

But can you please give more details about which dates you want to exclude from it? 

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

SpartaBI
Community Champion
Community Champion

@gianmarco you mean whicu columna to consider? You can't. You can of courae put a filter on top of it to restrict the dates returned ans maybe you better use calendar function. You can share the model and tell me what you want to achieve and I'll send back the solution file 

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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.

Top Solution Authors
Top Kudoed Authors