Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi Everyone!
How to solve this? I need to wipe out this blue box when we click on the report in Power BI Embedded in my app. Help? Would anyone know any way, at least to get around the problem?
Many thanks!
Lawrence
Solved! Go to Solution.
I can confirm that changing this behaviour is currently not possible.
The style for the highlight is within the Embedding CSS and cannot be changed from the host application or by some CSS hack.
I had raised this question before and was given a response that this highlighting was important for user accessibility.
After seeing this question get raised again by yourself and others, I decided to create a new Power BI Idea that would allow setting the color as part of the embedding process.
This way, the color could be changed to fit in with the host application whilst not affecting accessibility concerns.
https://ideas.powerbi.com/ideas/idea/?ideaid=7837fc9b-8dd8-ea11-bf21-0003ff52cdee
There are obviously no guarantees that it will get picked up, but we can try, right?
Cheers, Matt
@lawrenceabith - That seems like something you should be able to control via CSS
Hi @Greg_Deckler,
I tried to change it via CSS, but I can't save it because the css file where this property is is inside the power bi portal at Microsoft.
This is the css file where has this property:
Look this post at @alexbjorlig. He has explain the same problem.
Many thanks!!!
@Anonymous - Any thoughts?
Seems like you could target the element with your own CSS with the important! or override setting, I'm a little rusty with my CSS.
We already tried, but we were unable to subscribe the CSS.
The blue is there because that item is selected (At least that is how it is for me in the sandbox). If you click the blue again, it should go away. That being said, the gray background of that background container will remain
Yes but I need to remove this behavior, because inside my app looks like a formatting error.
I can confirm that changing this behaviour is currently not possible.
The style for the highlight is within the Embedding CSS and cannot be changed from the host application or by some CSS hack.
I had raised this question before and was given a response that this highlighting was important for user accessibility.
After seeing this question get raised again by yourself and others, I decided to create a new Power BI Idea that would allow setting the color as part of the embedding process.
This way, the color could be changed to fit in with the host application whilst not affecting accessibility concerns.
https://ideas.powerbi.com/ideas/idea/?ideaid=7837fc9b-8dd8-ea11-bf21-0003ff52cdee
There are obviously no guarantees that it will get picked up, but we can try, right?
Cheers, Matt