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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
lcasey
Post Prodigy
Post Prodigy

Create an Auto Calerndar Table with End of Month

Hello,

 

Is there any way to create a calendar table in Power BI that would create a table for Just end of month dates so I could relate that table to budget and transaction tables?

 

I have two tables:

 

GLSummary-  which contains actual Dates of the transactions

Budget - Which only contains Year and Period

 

I want to create an automatic date table that would do this:

 

Calendar = Claendar(EOM(MIN(GLSummaryDate), EOM(MAX(GLSummaryDate)

 

I know the above formula is not correct and thats what I need help with. I ultimately want a Date table that looks like this from the Minimum and Maximium Dates in the GLSummary table

01.jpg

 

1 ACCEPTED SOLUTION

aaah ok

 

this worked: 

 

 

Calendar = FILTER (
    
CALENDAR ( MIN ( '00-GLSummary'[TRXDATE] ), MAX ( '00-GLSummary'[TRXDATE]
) ),
    
[Date] = EOMONTH ( [Date], 0 )
)

 

View solution in original post

5 REPLIES 5
lcasey
Post Prodigy
Post Prodigy

This does NOT work in Power BI. I think the DAX engine is broken

 

EVALUATE
FILTER
(
    
CALENDAR ( MIN ( '00-GLSummary'[TRXDATE] ), MAX ( '00-GLSummary'[TRXDATE]
) ),
    
[Date] = EOMONTH ( [Date], 0 )
)

 

 

aaah ok

 

this worked: 

 

 

Calendar = FILTER (
    
CALENDAR ( MIN ( '00-GLSummary'[TRXDATE] ), MAX ( '00-GLSummary'[TRXDATE]
) ),
    
[Date] = EOMONTH ( [Date], 0 )
)

 

excellent

Genious!!!

Hi @lcasey,

I am very glad to hear you have resolved your issue, please mark the right reply as answer. So other people will find the solution easily.

Best Regards,
Angelia

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.