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

Shape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.

Reply
jytech
Helper I
Helper I

Compare and Visualize Value Between Two Dates

Hello,

 

I am looking to recreate the image below in Power BI Desktop.

Untitled.png

There is definitely DAX time intelligence involved here. I believe I will also need to create a Comparison Date table as well.

Any help would be much appreciated.

 

Thank you!

1 ACCEPTED SOLUTION
v-lionel-msft
Community Support
Community Support

Hi @jytech ,

 

Comparing different time periods – DAX Patterns

Please refer to the link, you can use two slicers to compare two periods.

 

Best regards,
Lionel Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
jytech
Helper I
Helper I
v-lionel-msft
Community Support
Community Support

Hi @jytech ,

 

Comparing different time periods – DAX Patterns

Please refer to the link, you can use two slicers to compare two periods.

 

Best regards,
Lionel Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

richbenmintz
Solution Sage
Solution Sage

Hi @jytech,

 

Assuming you have a date table connected to your fact table, you could try the following measures:

 

Users = SUM('fact'[Users])

Prior Year Users = CALCULATE([Users], SAMEPERIODLASTYEAR('calendar'[date]))

 

 Hope this helps or gets you going in the correct direction.

 



I hope this helps,
Richard

Did I answer your question? Mark my post as a solution! Kudos Appreciated!

Proud to be a Super User!


PaulDBrown
Community Champion
Community Champion

@jytech 

Can you share some non-confidential sample data?

BTW, do you want to compare data which are the same period in different years?





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.