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.
Perhaps - there's XMLA backend code - that can help me apply Column 12 conditional formating - to all my other columns - Column 10-30??
That would be very helpful. But I do not know how to do so in XMLA nor Formating Painter...
Anyone could help?
Hi MarleeBI
You cannot use XMLA endpoint to conditionally format columns. Also, once a change is made to a Power BI semantic model through the XMLA endpoint, it's not possible to download the model as a .pbix file from the Power BI service.
If your table is how it is shown on the screenshot from Anonymous , I would suggest you look into unpivoting the number columns so conditional formatting is done to just a column. After unpivoting, those number columns become two - one for attribute containing the columns and another one for value containing the values of the original columns. Your table would look something like below.