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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
AzaharoddinSk
Frequent Visitor

Changing the content in Layout file

Hi,

 

I tried to change some content in the LAYOUT file through Powershell Script, but I am unable to make any changes on that file, Can anyone help me with the solution. 

 

 

Note: Content in the Layout file should change with the Powershell script.

4 REPLIES 4
lbendlin
Super User
Super User

What type of changes are you planning to make?  The file format is not documented and liable to change at any time.

Hi @lbendlin
The scenario is like this, In the report having a Slider slicer that is like the start date is 2019/01/01 and the end date is 2024/12/31, I want to change the dates in a layout file like start 2023/01/01 and the end date is today's date. 

 

 

AzaharoddinSk_0-1674123563614.png

 

You should be able to use a preset filter for that, like this

 

lbendlin_0-1674302504371.png

 

Hi @lbendlin ,

 

I tried with your solution but it is not working, In that slider has the 3yrs past data and 1yr forecast data and when I open that page it should only display starting of that month(the present month that is 01 January 2023)  and end date is today's date like below i mentioned the image. 

 

AzaharoddinSk_0-1674454496288.png

 

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.