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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
snifer
Post Patron
Post Patron

conditional formatting text

I need to have conditional formatting for a text when display @" error" to become red (background or text)

 

is it possible?

1 ACCEPTED SOLUTION

@v-danhe-msft 

 

this is my measure and I can't make it work in case "SELECTED MULTIPLE CURRENCIES" appears to become written in red color.

 

CCheck = if((SELECTEDVALUE(CurrencySelector2[value])="Local Currency"), IF(
COUNTROWS(VALUES(UploadAccountsCurrentyPeriod[GroupStructure.CurrencyCode]))=1
, "OK"
, "SELECTED MULTIPLE CURRENCIES"), "OK"
)

View solution in original post

3 REPLIES 3
v-danhe-msft
Employee
Employee

Hi @snifer ,

You may refer to using Color formatting by field value function in power bi:

https://docs.microsoft.com/en-us/power-bi/desktop-conditional-table-formatting#color-formatting-by-f...

1.PNG

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@v-danhe-msft 

 

this is my measure and I can't make it work in case "SELECTED MULTIPLE CURRENCIES" appears to become written in red color.

 

CCheck = if((SELECTEDVALUE(CurrencySelector2[value])="Local Currency"), IF(
COUNTROWS(VALUES(UploadAccountsCurrentyPeriod[GroupStructure.CurrencyCode]))=1
, "OK"
, "SELECTED MULTIPLE CURRENCIES"), "OK"
)

Hi @snifer ,

Could you please post some simple sample data and your desired result to have a test if possible? Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.