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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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