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

Get Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.

Reply
BlueWhite3699
Helper III
Helper III

Extremely Tricky - Compare Same Period in the Previous Weeks and Months

Hi Experts

 

I am unable to get he chart and table as show in the image is have been banging my head against the wall on how to "Compare Same Period in the Previous Weeks and Months" 

 

BlueWhite3699_0-1752407613872.png

 

Want to be able to compare like for like so if the 02.12.2024 falls on a Monday and then ill be comparing that with 04.11/2024 for electricty usage on that day for that week. from the slicer ill select the first monday of the month...

 

Sample Data

https://www.dropbox.com/scl/fi/mvyt6d5qc9rfb6f40osqj/BlankPBIX.pbix?rlkey=6ac5yy4zpeyi0aru7v6vj5zav&... 

 

 

1 ACCEPTED SOLUTION

Comparing between months or quarters has limited business value because you are ignoring the impact of the seasonality.

View solution in original post

8 REPLIES 8
lbendlin
Super User
Super User

Weeks and Months are incompatible. You cannot reasonably expect to be able to compare them within each other.

Hi Ibendlin - much appericated for your excellent feed back as always whats is my best option to create something similar...

For a somewhat reasonable result use multiples of 7.  For example to compare weekdays across years you would use [date]-364 rather than SAMEPERIODLASTYEAR.

 

Comparing between months or quarters has limited business value because you are ignoring the impact of the seasonality.

I need to compare months with months...

Comparing between months or quarters has limited business value because you are ignoring the impact of the seasonality.

Under stand but the exam question here is to ignore  seasonality.

BlueWhite3699
Helper III
Helper III

Hi Post Patron - If the user selects Dec in the Slicer then the bar chart represents the Data for the period Dec 24 and the line chat should be the like for like data for Nov 24 .

Hence 02.12.2024 falls on a Monday and then ill be comparing that with 04.11/2024 and that week too. some month my have 4 and or 5 weeks. The Electricty usage.

FBergamaschi
Super User
Super User

Please provide a clearer explanation

 

Compare what? In what terms? What visuals? What columns?

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

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.