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
Anonymous
Not applicable

Background different pages json - Background por pagina json

Hi,

 

I am importing a json theme where i need to put differents backgrounds for each page. But i can only insert one background for all pages. Is it possible to do it for each page?

 

Estoy importando un tema en json donde necesito insertar diferentes backgrounds por cada pagina, pero solo pude insertar un bakcground para todas las paginas. Es posible insertar uno por cada pagina?

 

This is the json code:

 

{
               "name": "Page Background Image",
               "visualStyles": {
                        "page": {
                              "*": {
                                      "background": [
                                               {
                                                  "image": {
                                                         "name": "Background",
                                                         "scaling": "Fit",
                                                         "url": "xxxxx"
                                                },
                                                "transparency": 0
                                       }
                                  ]
                           }
                    }
           }
}

 

I tried to change "*" for different things but none works (like page number, page name).

 

Intente cambiando "*" por diferentes cosas pero nada funciona (como el numero de pagina, el nombre).

 

Thanks!

 

Gracias!

2 REPLIES 2
v-juanli-msft
Community Support
Community Support

Hi @Anonymous

 

For custom json file, i haven't found any documents about this, i am testing for this, this will take some time, i will update if it is possibe.

If you are urgent to solve this problem for your bussiness.

Currently, you may set different background impage for each page manually in power bi.

Format pane->page background->add image

 

Best Regards

Maggie

 

Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Thanks @v-juanli-msft

 

Yes, i know this way but i have a delay between pages, the first image is behind few second and then appears the new one.

 

The images are not heavy. They weigh between 200 and 600kb and i don't have many records (300 approximately) that can affect performance.

 

Regards.

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.