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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
ysherriff
Resolver II
Resolver II

Offset Time Intelligence Not Working Properly

Hi all,

I am testing out how to use Offset in Time Intelligence but the output is not coming out correctly. I created three separate formulas to test. I am trying to calculate Prior Quarter. Thank you for your help and please let me know what I am doing wrong.

 

Image #1 - Matrix table with all three formulas.

ysherriff_0-1672201657717.png

ysherriff_1-1672201742906.png

 

ysherriff_2-1672201773855.png

 

File Access

https://1drv.ms/u/s!AlTfdvX0WzaQ1Hp_5BiThvTIDA1f?e=oidNeC

 

 

1 ACCEPTED SOLUTION
TomMartens
Super User
Super User

Hey @ysherriff ,

 

try this measure:

 

Prev Quarter = 
CALCULATE(
    [# of MQLs]
    , ALL( 'Date'[Quarter & Year] )
    , OFFSET(
        -1
        ,
        , ORDERBY( 'Date'[QuarternYear] , ASC )
        , KEEP
    )
)

 

Be aware that there is an ALL that removes the existing filter.
OFFSET used as filter modifier creates a new filter context, but does not remove an existing one.

Hopefully, this provides what you are looking for.

Regards,
Tom 



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

View solution in original post

2 REPLIES 2
ysherriff
Resolver II
Resolver II

Thank you Tom. Perfect. Didn't understand the filter context within Offset.

 

Much appreciated

TomMartens
Super User
Super User

Hey @ysherriff ,

 

try this measure:

 

Prev Quarter = 
CALCULATE(
    [# of MQLs]
    , ALL( 'Date'[Quarter & Year] )
    , OFFSET(
        -1
        ,
        , ORDERBY( 'Date'[QuarternYear] , ASC )
        , KEEP
    )
)

 

Be aware that there is an ALL that removes the existing filter.
OFFSET used as filter modifier creates a new filter context, but does not remove an existing one.

Hopefully, this provides what you are looking for.

Regards,
Tom 



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.