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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Start horizontal scroll from current week

Hi All, I have a matrix where my values are being showed on rows and on columns I have weekly dates which range from June to December and would still go ahead than that as well.

 

My problem is that Everytime my report is opened the matrix would show me the dates from June,  while this is ok as the current week is still being visible in the canvas, it would be a problem when my current week is further to the right and I always have to scroll to view that. What I am interested in is that whenever I open my report it should start from the current week. That way I have a liberty of scrolling to the left to view historical dates and if I scroll further right I can see my future dates.

 

I am not too sure if this is possible in Power BI, but if yes, then can someone please point a way out of it for me.

7 REPLIES 7
Anonymous
Not applicable

Hi @Anonymous ,

Please check if the workaround in the following thread can help you.

How to keep the scrollbar to the right in a power bi chart 

Best Regards

Rena

amitchandak
Super User
Super User

@Anonymous , Have a column like this in Date and week calendar

Week Type = Switch( True(),
[start week]<=Today() && [end date]>=Today(),"This Week" ,
[Week Name]
)

And select this week always

 

You can refer this how to get week start and week end

https://community.powerbi.com/t5/Community-Blog/Any-Weekday-Week-Decoding-Date-and-Calendar-2-5-Power-BI-Turning/ba-p/1187482

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

@amitchandak  When you say select this week always, where should the selection be made? How do we select that in matrix.

 

Also, by the solution below what I understand is that my column values in matrix would now be week dates and a text value as 'This week' right?

@Anonymous , Are you a week on the column and it coming ascending sort order.

To deal with you need sort it descending. The week column or a new column only for this Matrix.

 

Week Start date = 'Date'[Date]+-1*WEEKDAY('Date'[Date],2)+1
Week End date = 'Date'[Date]+ 7-1*WEEKDAY('Date'[Date],2)
Week Number = WEEKNUM([Date],2)
Week = if('Date'[Week Number]<10,'Date'[Year]*10 & 'Date'[Week Number],'Date'[Year]&'Date'[Week Number])
Week Rank = RANKX(all('Date'),'Date'[Week Start date],,desc,Dense)
Week name = [Week Start date] & " to "& [Week End date]

 

Whatever format you have for the week. make desc week rank as a sort column and use that

https://docs.microsoft.com/en-us/power-bi/desktop-sort-by-column

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

@amitchandak thank you for your response, but I don't think that is what i am looking for. Let me just explain my requirement. 

 

Below snapshot shows how the matrix scroll works. It is always gonna start from the 1st week that i have in my data

 

Anup_1004_1-1595589596293.png

 

Rather what i am looking for can be seen in the below snapshot, where now my matrix scroll will always start from the current week and if you see the scroller at the bottom, i can still go back and see historical weeks as well as future weeks. Whenever i open my report i would like to see my matrix in the below state.

Anup_1004_2-1595589833683.png

Please let me know if this is possible

@Anonymous , Is this idea what you need 

https://ideas.powerbi.com/ideas/idea/?ideaid=94e64b87-c920-4515-9104-614be64065db

 

Please vote

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Yes, pretty much on those lines. Thank you

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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