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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Emmy66
Helper IV
Helper IV

Last 6 weeks displayed as Week

Hi Everyone,

Attached is my pbix file which contains my data. The aim is to output the last six weeks in the other below (fig 1) instead of (fig 2) i.e showing week numbers. The visualisation will be the only visual to display last 6 weeks whilst others will only show the current week based on the selected date i.e. Friday of that week. This slicer will be based on DimDate[WeekEndFriday].

Any help on this will be appreciated.

Emmy66_0-1659824634694.png

Fig 1

 

Emmy66_1-1659824634700.png

Fig 2

https://drive.google.com/file/d/18JOrsIJnIMuQoRFC_8e0WRjDXixju0jA/view?usp=sharing 

4 REPLIES 4
daXtreme
Solution Sage
Solution Sage

Hi @Emmy66 

 

Here's how to do such things as explained by one of the Masters, Alberto Ferrari: Show last 6 months based on user single slicer selection - YouTube

 

All you'll have to do is to use weeks instead of months.

@daXtreme Thanks for your prompt response. I've seen the video from Alberto Ferrari, my question is that instead of having week #s, can it be replaced with Week, Week-1, Week-2, Week-3, Week-4 etc.

@Emmy66 

 

Why could it be not replaced with anything else that is an ordered dimension? Alberto only shows you some pattern, even though he uses dates. But it's the pattern that's important, not the specific example.

@daXtreme Thanks for your comment. The reason I'm trying to replicate that is because the business reports it in the format shown in Fig 1. My question is, is it achievable at all?

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 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.