Hi @Greg thanks for the reply.
The problem i have is that my measure which is utilising my template is using the switch(true() to identify my lines and then run a calculation but not all results are numbers some are percentages, my measure is a mix of numbers and percentages, extract of the measure below, I’ve not included my variables as the whole measure is quite long.
Fundamentaly everything is built off the [Actuals] measure so i tried putting that in the advanced controls conditional formatting section against this overall measure and it changes the font red for the very bottom section which directly uses the measure [Actuals] but it does not change the font for the Subtotal, Total and Total% lines and you can only add one field / measure in the advanced control conditional formatting area.
Return
IF(OrderType = “SUB TOTAL”,
FORMAT([Subtotals],
“##,##; (##,##); -”), //number format
IF(OrderType = “TOTAL”,
FORMAT(SWITCH(AccName,
“Total Revenue”,TotRev,
“Total Category1 Costs”,Category1Costs,
“Total Category2 Costs”,Category2Costs,
“Total Category3 Costs”,Category3Costs,
“Total Category4 Costs”,Category4Costs,
“Total Costs”,TotCosts,
“Category1 Margin”,Category1GM,
“Category2 Margin”,Category2GM,
“Category3 Margin”,Category3GM,
“Category4 Margin”,Category4GM,
“TOTAL GROSS MARGIN”,TotGM),
“##,##; (##,##); -”), //number format
IF(OrderType = “TOTAL%”,
FORMAT(SWITCH(AccName,
“Category1 GM%”, DIVIDE(Category1GM, Category1Rev,0),
“Category2 GM%”, DIVIDE(Category2GM, Category2Rev,0),
“Category3 GM%”, DIVIDE(Category3GM, Category3Rev,0),
“Category4 GM%”, DIVIDE(Category4GM, Category4Rev,0),
“TOTAL GM%”, DIVIDE(TotGM, TotRev,0)),
“#,###0.0%;(-#,###0.0%); -”), //percentage format
FORMAT(CALCULATE([Actuals]),
“##,##; (##,##); -”)))) //number format