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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
AlanP514
Helper V
Helper V

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.


Go to My LinkedIn Page


Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

Top Solution Authors