Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
powerbityro
Helper II
Helper II

column textcolor

hi all,

i have a table with monday, tuesday and so on...

saturday and sunday i want in red and cursive...

how can i realise that?

 

what not works is:

WeekdayColor = SWITCH(TRUE();
                            table[weekday]="Saturday"; "Decline"
)

 

6 REPLIES 6
tex628
Community Champion
Community Champion

If you create each weekday as seperate measures and use in a matrix you can field format only the header to red text:
image.png
This will only work if you use a seperate measures for each day and i don't actually think there is any other way to do it. 


Connect on LinkedIn

hi tex... many thanks for your reply

but what do you mean with seperate measueres? do i have than one column at the end?

i use a table, not a matrix

Ohh, in that case it might not be any issue. 

In a matrix you would generally have a day dimension as the column. Which would automatically give you the weekdays as columns. This would mean that you can individually field format a column, as all the different says were just part of the day dimension. 

But if you have a table, i assume you have measures similar to:

Monday = Calculate( SUM( [Amount] ) , [Weekday] = "Monday" )


If you do, all you need to do is go into the pane for field formatting and format sunday/saturday


Connect on LinkedIn

with field formatting it is only possible to color all values in a column... not only saturday and sunday 😕

Then you have the days as rows and not columns. It's not possible to color the headers of specific rows. 


Connect on LinkedIn

i have a column like that

 

weekday

monday

monday

tuesday

saturday

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.