I have a couple reports that allow the user to change font colors with a parameter selection, this is the expression in the font color attribute:
=IIF(Parameters!Display.Value = true, "#000000", "#ffffff")
We just moved reports to a new 2016 instance and this expression is no longer working in the header. It works fine for all the fields in the table / body of the report.
UPDATE: I have tried using the colors names (black/white) but no difference. The colors are correct when exported or printed, it is just the initial display of the report after clicking "run" that is showing the wrong colors.
UPDATE 2: I have found an error - CSS3111: @font-face encountered unknown error. in File: powerbiglyphs-regular.eot
UPDATE 3: I opened the report in chrome and used the dev tools to poke around inside. I found this in a css file:
@font-face {
font-family: "PowerBIGlyphs-regular";
src: url("../fonts/powerbiglyphs-regular.eot");
src: url("../fonts/powerbiglyphs-regular.eot?#iefix") format("embedded-opentype"),
url("../fonts/powerbiglyphs-regular.woff") format("woff"),
url("../fonts/powerbiglyphs-regular.ttf") format("truetype"),
url("../fonts/powerbiglyphs-regular.svg#PowerBIGlyphs-regular") format("svg");
font-weight: 400;
font-style: normal;
font-stretch: normal;
}
But the only file in the FONT folder is fonts/powerbiglyphs-regular.woff. Is it possible I am getting the error due to missing font files?
Is there some quirk to 2016 that we need to know?