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
Tony_iberian
New Member

CALENDARAUTO not working

Hi Guys

 

I want to use the calendarauto function but it is not detecting any dates, i check everything I´m aware of but still not working

 

https://1drv.ms/u/s!AhnqnH5Lu1_2hslp0Fwiy9ZefodOyg?e=gK1x3h

 

thanks in advance!

 

Tony

 

1 ACCEPTED SOLUTION
PaulDBrown
Community Champion
Community Champion

Creating a new table with the option "New table" was throwing an error along the lines of a conflict with the name "Table". I went into Power Query and there was a table called "Table" which was empty. I deleted it, and then the new table function was working fine. I've added the Calendar Table for you. See file attached

 

Note: I've added fields in spanish since that seems to be the language of many of the fields. You can change the language for these date fields by changing the last expression in the FORMAT function.





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi,

 

I checked your PBI file. 

CALENDARAUTO() returns the table. And in your file you are creating measure with this function.
To resolve issue, please create new table and in query bar write CALENDARAUTO() (In front of "table" word). This will resolve your issue.
 
Please find below screenshot for reference. Hope this helps.
 
calendarauto.png
PaulDBrown
Community Champion
Community Champion

Creating a new table with the option "New table" was throwing an error along the lines of a conflict with the name "Table". I went into Power Query and there was a table called "Table" which was empty. I deleted it, and then the new table function was working fine. I've added the Calendar Table for you. See file attached

 

Note: I've added fields in spanish since that seems to be the language of many of the fields. You can change the language for these date fields by changing the last expression in the FORMAT function.





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on 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.