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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
Anonymous
Not applicable

Dynamic Previous Period Comparison.

Hi All ,

I am trying to do YOY comparison .Here Period is constant for one year at each level and I am able to achieve it in one measure  in powerbi so far.It is working fine  when I do drilldown as shown below

Period Over Period(YOY ADR Growth)
Y->2020 Vs 2021
M->8-2020 Vs 8-2021
W ->31-2020 Vs 31-2021
D->8/4-2020 Vs 8/4-2021

 

sbpn_0-1628522155667.png

 

 

The issue comes in when i am trying to achieve something like shown below as period is not constant at each level and is changing .Can we achieve it one measure like I did for YOY or not.If so how ? If not, what is the best way to show them.

Previous Period Comparison
Y ->2020 vs 2021
M ->8-2021 Vs 7-2021
W ->31-2021 Vs 30-2021
D->8/4-2020 Vs 8/3-2021

 

Please provide some suggestions.

 

Thanks.

1 REPLY 1
Greg_Deckler
Community Champion
Community Champion

@Anonymous Not a lot to go on. 

You may find this helpful - https://community.powerbi.com/t5/Community-Blog/To-bleep-With-Time-Intelligence/ba-p/1260000

Also, see if my Time Intelligence the Hard Way provides a different way of accomplishing what you are going for.

https://community.powerbi.com/t5/Quick-Measures-Gallery/Time-Intelligence-quot-The-Hard-Way-quot-TITHW/m-p/434008



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.