Forum Discussion
Format Painter for Field Columns - Is that possible?
- Anonymous2 years ago
Hi MarleeBI ,
First of all, many thanks to for your very quick and effective replies.
Based on the knowledge, it is impossible to apply conditional formatting to all columns directly, you should apply formatting individually for each column.
Please try the following methods as workaround:
1.Create the simple table.
2.Select the conditional formatting for 12 column.
3.Select the Rules in the Format style and set the Rules.
Besides, it is also able to create a measure for the column conditional formatting.
Conditional formatting = var colum_ = SELECTEDVALUE('Table'[13]) RETURN IF(colum_ > 13 && colum_ <= 14, "yellow", IF(colum_ > 14 && colum_ <= 100, "green") )Select the Field value in the Format style for column 13 and choose the formatting measure in the field.
You can also view the following documents to learn more about column conditional formatting.
Apply conditional table formatting in Power BI - Power BI | Microsoft Learn
Best Regards,
Wisdom Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
You mentioned - "Conditional formatting is applied one field/column at a time"
If you don't mind, could you provide some more - step-by-step guidence - on how to apply it?
From the screenshot, How Can I apply Column 12 Color formatting logic - onto Column 13?
What I meant was you would have to open the conditional formatting dialogue box for each column/field/measure that you wanted it to be applied to - so for 20 columns that meant doing it 20 times. There is no option to select multiple fields and apply the same conditional formatting like you can in Excel.
XMLA endpoint is available only to workspaces with premium capacity enabled. And while you can use XMLA to change column formatting (like changing the data format), it cannot be used to apply conditional formatting.