I want to conditionally change the color of a font or text box background color or rectangles background color on a certain value. As far as i have researched its only possible in a matrix or a table. Is there any way i can do this? I want to change the color of the "condition" box on bases of a value, please see the attached screen shot. I would be very thankful if anyone can help me achieve it or any other work around to achieve this.
I would use the Custom Visual: Card with States. It's States properties let you dynamically control the colors of the font or background.
https://appsource.microsoft.com/en-us/product/power-bi-visuals/WA104380967?src=office&tab=Overview
Related
When I dissable dark mode which is provided via BreezeStyleSheet:
https://github.com/Alexhuszagh/BreezeStyleSheets
it works (I can change background with set canvas palette to whatever I want and then attach it to QwtPlot). But when I use style sheet it seems almost impossible to set it. Have anybody some ideas how to fix this issue ?
For custom widget based on QwtPlot it will be:
this->canvas()->setStyleSheet("background-color: black;border: none;");
in constructor.
I need to implement a sort of "select box" on this vertical menu:
In short I like to add the possibility to navigate the vertical menu via arrow keys.
I have already hook the game, but this part I need to do manually.
I thing the best way is use directdraw API but I don't have experience about it.
Theoretically I can follow 2 ways:
Change and resume the backgroud color of the selected item by position and color.
Add and remove a rounded box outside the selected item by position (this is not best but seem more easy to do).
I ask what are the directdraw (or other) API that do it.
Any tips are much appreciated.
Best Regards
How can I outline the border of the slicer?
I want to change color of the border of the window where it says "All".
I do not need like this:
I need something like that"
Anyway to achieve that in Power bi?
I don't think this is currently possible with the built-in slicer.
To do this, you'll either have to create your own custom visual or else submit an idea and hope it gets implemented.
This image shows the different pieces you can currently adjust.
Notice that the border for the header and the items (purple) is the same thickness and color, the outside border (yellow) can't be changed in width, and the Items Outline doesn't display except on the drop-down section.
You could make a really thick border using the Background, but I don't think that's a good option.
Is it possible to change font color of text in Matrix Visual based on some condition. I tried conditional formatting in table but it changes the background color of cell.
Thanks
As of the May 2017 Power BI Desktop release, conditionally changing the font color of a cell in a matrix isn't possible. (You can change the font color of all cells, however.)
I don't have any suggestions for working around this, but if you haven't already, I do recommend voting for this idea in the Power BI Ideas Forum: Conditional formatting for the font color, bars in the cell of the tables and all the other advanced options excel is offering (and perhaps adding a comment to clarify what exactly you'd like to see too, since you might only care about the font color part of the idea for example)
I'm trying to automate some PowerPoint charts, but I'm having problems preserving some formatting.
When I add a chart using a chart template, the chart doesn't use the slides color scheme, but rather the colors it was saved with. It doesn't help to change the color scheme for the slide - the chart isn't updated. To make the chart update to the color scheme of the slide, I have to clear formatting for the chart. The problem with doing this is that all font sizes are automatically set to 18pt. I cannot find any easy way restore the font sizes for the chart without saving all sizes before calling clear, and set them back after clearing.
Have you looked into using the Format Painter function it may or may not work depending on a variety of factors from my quick look on the net (google it for lots of articles).
Also if you've done one chart you should be able to copy the formatting from one chart to another using the paste special option as mentioned here http://www.pcreview.co.uk/forums/there-format-painter-equivalent-use-many-charts-t3611646.html .