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
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.
File Access
https://1drv.ms/u/s!AlTfdvX0WzaQ1Hp_5BiThvTIDA1f?e=oidNeC
Solved! Go to Solution.
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
Thank you Tom. Perfect. Didn't understand the filter context within Offset.
Much appreciated
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
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 53 | |
| 38 | |
| 33 | |
| 16 | |
| 16 |
| User | Count |
|---|---|
| 66 | |
| 63 | |
| 37 | |
| 34 | |
| 22 |