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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Ait-james
Frequent Visitor

Calculate half year

Hello everyone,

 

I need help please, it's regarding last day of current half year how can calculat it ? I had searched but I can't find anything.

 

Thank you !

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

If you need jun

Measure 4 = EOMONTH(date(YEAR(TODAY()),6,1),0)

 

If you need after 6 month

Measure 4 = EOMONTH(date(YEAR(TODAY()),Month(TODAY())+6,1),0)

 

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution.
In case it does not help, please provide additional information and mark me with @

Thanks. My Recent Blogs -Decoding Direct Query - Time Intelligence, Winner Coloring on MAP, HR Analytics, Power BI Working with Non-Standard TimeAnd Comparing Data Across Date Ranges
Connect on Linkedin

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

If you need jun

Measure 4 = EOMONTH(date(YEAR(TODAY()),6,1),0)

 

If you need after 6 month

Measure 4 = EOMONTH(date(YEAR(TODAY()),Month(TODAY())+6,1),0)

 

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution.
In case it does not help, please provide additional information and mark me with @

Thanks. My Recent Blogs -Decoding Direct Query - Time Intelligence, Winner Coloring on MAP, HR Analytics, Power BI Working with Non-Standard TimeAnd Comparing Data Across Date Ranges
Connect on Linkedin

Thank you, it's working well !

Anonymous
Not applicable

Do you have a date dimension? Do you basically want to know the ...date of 30th of June?

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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