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

Post Desktop App update - "Unable to execute DAX"

I have been running a fairly simple report in the desktop app without any problems. Then I ran the update this week and the next time I accessed the model I got the error "Unable to execute DAX", see attached.

dax.png

The DAX line in the calendar table is - 

calendar = Addcolumns(CALENDARAUTO(),"Month Full Name",format([Date],"mmmm"))
The table has 2 columns "Date" and "Month Full Name"
 
Now when I run a refresh I get the following:
fail.png
 
No changes had been made to the model prior to or since the app update. I can find no circular references.
 
How do I fix this error?
4 REPLIES 4
lbendlin
Super User
Super User

Avoid using CALENDARAUTO or auto date/time.

What should I use in place?

 

Manually put in the dates and months?

 

Sorry, beginner level Power BI here.

Use a static calendar table. Dates are immutable, no need to calculate them.

@GAS 

I would suggest you to create a date table in power query, you can use the below code and instead of harcording start and end date, you can use list.max function on the date column in your fact table.

https://forum.enterprisedna.co/t/extended-date-table-power-query-m-function/6390

 

 

I wont suggest this option considering calculated tables and columns are not good for your semantic model, but if you still want to create using DAX then you can use Calendar function

 

CALENDAR(MIN(FactTable[Date]), MAX(FactTabel[Date]))

Need a Power BI Consultation? Hire me on Upwork

 

 

 

Connect on LinkedIn

 

 

 








Did I answer your question? Mark my post as a solution!
If I helped you, click on the Thumbs Up to give Kudos.

Proud to be a Super User!


PBI_SuperUser_Rank@2x.png

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.