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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Mohan-anan
Regular Visitor

Default report view

I want to set the default view of my Power BI report so that when the user opens it, the latest week is selected by default. I want to do this very simply without using any DAX code. How can I achieve this?

1 ACCEPTED SOLUTION
Mohan-anan
Regular Visitor

To ensure that the latest week is selected by default in your Power BI report when a user opens it, and to do so without using any DAX code, follow these simple steps:


Sort the Week Column in Ascending Order:

  • Make sure your Week of Year column is sorted in ascending order.
  • Click on the Week of Year column in the Fields pane.
  • In the Column Tools tab, ensure that the column is sorted in ascending order by clicking the Sort ascending button if necessary.
    Add the Slicer to the Report:
  • In the Report view, go to the Visualizations pane and select the slicer visual.
    Drag the Week of Year column from the Fields pane to the slicer.
    Enable Single Select:
  • Click on the slicer visual to select it.
  • In the Visualizations pane, go to the Format pane (paint roller icon).
  • Expand the Selection controls section.
  • Toggle the Single select option to On.
    By doing this, the slicer will automatically select the latest week (the highest value) when the report is opened, as it will be sorted in ascending order. The single-select setting will ensure that only one week is selected at a time. This approach is simple and avoids the need for any additional DAX calculations or complex configurations.

View solution in original post

1 REPLY 1
Mohan-anan
Regular Visitor

To ensure that the latest week is selected by default in your Power BI report when a user opens it, and to do so without using any DAX code, follow these simple steps:


Sort the Week Column in Ascending Order:

  • Make sure your Week of Year column is sorted in ascending order.
  • Click on the Week of Year column in the Fields pane.
  • In the Column Tools tab, ensure that the column is sorted in ascending order by clicking the Sort ascending button if necessary.
    Add the Slicer to the Report:
  • In the Report view, go to the Visualizations pane and select the slicer visual.
    Drag the Week of Year column from the Fields pane to the slicer.
    Enable Single Select:
  • Click on the slicer visual to select it.
  • In the Visualizations pane, go to the Format pane (paint roller icon).
  • Expand the Selection controls section.
  • Toggle the Single select option to On.
    By doing this, the slicer will automatically select the latest week (the highest value) when the report is opened, as it will be sorted in ascending order. The single-select setting will ensure that only one week is selected at a time. This approach is simple and avoids the need for any additional DAX calculations or complex configurations.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

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