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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
cottrera
Post Prodigy
Post Prodigy

Unable to format Text

Hi I am having an issue with the formatting option in power bi. Normally ifI wish to format a field based on Text I would use go here

cottrera_0-1736857615180.png
However I have just build a report and was about to add the final touches the format page looks like this. The 'What field should we base this on' field is highlighted red and will not letme choose a field to format

cottrera_1-1736857762046.png

Any thoughts

Richard

 

1 ACCEPTED SOLUTION

Can you try creating a measure for me and using that for formatting.

Colour format =
Switch(
True()
,SelectedValue(table[Phase status]) = "Active", "Green"

,SelectedValue(table[Phase status]) = "Cancelled", "Red"
,"Blue"
)

To assign this change Format style in the top left from Rules to Field Value and then select this measure.


If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

View solution in original post

7 REPLIES 7
cottrera
Post Prodigy
Post Prodigy

Thanks for the quick response SamWiseOwn I tried this route before posting on the forum. Again the issue is that 
this field will not let me make any selections. I have never experienced this before.

cottrera_0-1736862034459.png
Richard

 

 

Is the field a measure or a column?


If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

Hi I tried both. This normally works and I have formatted hundereds of time over the years. It just seems to be with this particular pbix file lmost like its corrupted. I just opened up a new pbix and connected to the same table nd it works fine. I was hoing to avoid building a report again 🫠

cottrera_0-1736862504852.png

 

 

Can you try creating a measure for me and using that for formatting.

Colour format =
Switch(
True()
,SelectedValue(table[Phase status]) = "Active", "Green"

,SelectedValue(table[Phase status]) = "Cancelled", "Red"
,"Blue"
)

To assign this change Format style in the top left from Rules to Field Value and then select this measure.


If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

😁Well done for your persistnace and saving me lots of time 👊

cottrera_0-1736863006176.png

 

I just wish I knew why it was broken in the first place ...


If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

SamWiseOwl
Super User
Super User

Hi @cottrera 

Does the column hold a number?
If so you could either format the column to be text or create a new column/measure and format that to be text.


If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors