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

Theme from pbix file does not stay after publishing to service

Hello,

 

I dont know if this is a bug or something I am doing wrong. I have imported my theme in to my pbix file and everything looks ok because everything  now has a shadow box ( I made sure that everything got a shadow box for debugging purposes). But once I published it to the service I got a completely different look. Even after publishing into a completely clean workspace. What is going on???

 

PBIX file:

 

pbixFile.PNG

 

Power BI Service:

 

service.PNG

4 REPLIES 4
amitchandak
Super User
Super User

@Anonymous , which browser is this

Other than IE 11 , most of the other it should work -https://docs.microsoft.com/en-us/power-bi/fundamentals/power-bi-browsers

 

else log an issue -https://community.powerbi.com/t5/Issues/idb-p/Issues

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Hey @amitchandak ,

 

You would think so but the same error persists in Edge and Chrome.

Anonymous
Not applicable

Here is my code for the dropShadow

 

"dropShadow": [
          {
            "show": true,
            "color": {
              "solid": {
                "color": {
                  "expr": {
                    "ThemeDataColor": {
                      "ColorId": 0,
                      "Percent": -0.3
                    }
                  }
                }
              }
            },
            "position": "Outer",
            "preset": "Custom",
            "shadowDistance": 5,
            "transparency": 70
          }
        ]

Hi @Anonymous ,

Cannot import this theme into my .pbix file by your theme code to reproduce it, maybe you can consider sharing a dummy file for further discussion.

 

Best Regards,
Yingjie Li

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

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.