cancel
Showing results for 
Search instead for 
Did you mean: 
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

Did I answer your question? Mark my post as a solution! Appreciate your Kudos!! !!
Dashboard of My Blogs !! Connect on Linkedin
Want To Learn Power BI
Learn Power BI Beginners !! Advance Power BI Concepts !! Power BI For Tableau User !! Learn Power BI in Hindi !!
Proud to be a Super User!

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

Did I answer your question? Mark my post as a solution! Appreciate your Kudos!! !!
Dashboard of My Blogs !! Connect on Linkedin
Want To Learn Power BI
Learn Power BI Beginners !! Advance Power BI Concepts !! Power BI For Tableau User !! Learn Power BI in Hindi !!
Proud to be a Super User!

View solution in original post

Thank you, it's working well !

adetogni
Solution Sage
Solution Sage

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





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
Power BI December 2021 Update_carousel 768x460.jpg

Check it Out!

Click here to read more about the December 2021 Updates!

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Jan 2022 Dev Camp 768x460 copy.png

Power BI Dev Camp- January 27th, 2022

Mark your calendars and join us for our next Power BI Dev Camp!

Top Solution Authors
Top Kudoed Authors