Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Solved! Go to Solution.
Hi @Anonymous,
I'd like to suggest you add calculated column with if statement to return specific color text which used in 'conditional formatting' feature based on 'field value' option.
For example:
Conditional Color = VAR lastBusinessDay = MAXX ( FILTER ( CALENDAR ( DATE ( [Date].[Year], [Date].[MonthNo], 1 ), [Last Day of the month] ), WEEKDAY ( [Date], 2 ) <= 5 ), [Date] ) RETURN IF ( [Date] <> [Last Day of the month], IF ( [Date] <> lastBusinessDay, "Blue", IF ( WEEKDAY ( [Date], 2 ) <> 5, "Blue", "Black" ) ), IF ( WEEKDAY ( [Date], 2 ) > 5, "Orange", "Black" ) )
Conditional formatting in tables
Regards,
Xiaoxin Sheng
Hi @Anonymous,
I'd like to suggest you add calculated column with if statement to return specific color text which used in 'conditional formatting' feature based on 'field value' option.
For example:
Conditional Color = VAR lastBusinessDay = MAXX ( FILTER ( CALENDAR ( DATE ( [Date].[Year], [Date].[MonthNo], 1 ), [Last Day of the month] ), WEEKDAY ( [Date], 2 ) <= 5 ), [Date] ) RETURN IF ( [Date] <> [Last Day of the month], IF ( [Date] <> lastBusinessDay, "Blue", IF ( WEEKDAY ( [Date], 2 ) <> 5, "Blue", "Black" ) ), IF ( WEEKDAY ( [Date], 2 ) > 5, "Orange", "Black" ) )
Conditional formatting in tables
Regards,
Xiaoxin Sheng