cancel
Showing results for 
Search instead for 
Did you mean: 
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
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

BizApps LATAM 2023

Business Application LATAM Summit 2023

Join the biggest FREE Business Applications Event in LATAM this February.

Power Platform Bootcamp

Global Power Platform Bootcamp

In this bootcamp we will deep-dive into Microsoft’s Power Platform stack with hands-on sessions and labs, delivered to you by experts and community leaders.