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

Preparing for a certification exam? Ask exam experts all your questions on May 15th. Register now.

Reply
AlanP514
Post Patron
Post Patron

1 St Half of the Year (H1) & 2nd Half of the Year (H2)

Hi All, 

AlanP514_0-1674275795299.pngAlanP514_1-1674275811237.pngAlanP514_2-1674275825158.png

I want to create H1 (1St Half Of the year and 2nd Half of the year Time Intelligence along with these YTD, MTD , QTD 
I created 3 dax for time intelligence for time intelligence 
1 Current year Time intelligence based on that previous year time intelligence and Previous period time intelligence but  i wanted to add H1 & H2 also include same for this measures 


Here i attached dummy pbix file 


Thanks
Alan P James





1 REPLY 1
Jihwan_Kim
Super User
Super User

Hi,

One of ways to achieve this is to create a new column in a Dim-Calendar table that shows Half-Start-Date.

By using this column, I think it will provide easier way to create DAX measures to provide the expected result.

 

Half Start Date CC = 
IF (
    Dim_Calendar[Month] <= 6,
    STARTOFYEAR ( Dim_Calendar[Date] ),
    DATE ( Dim_Calendar[Year], 7, 1 )
)

If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Visit my LinkedIn page by clicking here.


Schedule a meeting with me to discuss further by clicking here.

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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

Top Kudoed Authors