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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
ysherriff
Resolver II
Resolver II

Date hierarchy offset formula incorrect output at month, quarter and year level using Inscope

Hi all,

I am creating a date hierarchy offset for time intelligence but for some reason, it works at the day level but at the month , quarter and year level the offset function is not returning the proper value.

Can someone direct me to what the issue is?

Image #1 - Date hierarchy offset formula

ysherriff_0-1672428143686.png

 


Image #2 - Incorrect outuput at month, quarter and year level

ysherriff_3-1672427431816.png

 

 

 

1 ACCEPTED SOLUTION
AlexisOlson
Super User
Super User

Your DAX is using 'Date'[CurrDayOffset] inside FILTER for all cases. It should match the period you're calculating for.

View solution in original post

4 REPLIES 4
AlexisOlson
Super User
Super User

Your DAX is using 'Date'[CurrDayOffset] inside FILTER for all cases. It should match the period you're calculating for.

Duh. I am an idiot. Thanks Alexis. That is exactly the issue......

amitchandak
Super User
Super User

@ysherriff , In this video I have applied the logic of isinscope and offset, check that out, if that can help

 

Power BI Offset Compare Categories, Time Intelligence MOM, QOQ, and YOY: https://youtu.be/5YMlkDNGr0U

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thanks Amit. I have used your video as a starting point. It is saved in my favorites in Youtube.

 

Your videos are awesome learning tools.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors