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
EG-1984
New Member

Conditional formatting - unable to set field

Good morning.

 

I have started to experience issues with setting the field for conditional formatting. For rules or field values, Power BI is not letting me select which field to base these on. The field I want to select is a whole number, and worked fine in previous versions.

 

When I look at conditional formatting I have previously set, the field has now disappeared, although the formatting does still work:

 

EG1984_0-1688638209406.png

 

However, I cannot set up new conditional formatting.

 

Is this a bug, or has something changed in the latest releases?

 

Thanks 🙂

 

 

1 ACCEPTED SOLUTION
OwenAuger
Super User
Super User

Hi there @EG-1984 

I'm hazarding a guess here: by any chance are there one or more calculation groups in the dataset?

 

A side effect of adding calculation groups is that the "Discourage Implicit Measures" model option is forcibly set to True. This stops any new implicit measures being used in visuals or conditional formatting settings. Existing implicit measures will continue to work though.

 

Here's one article describing the issue and what implicit measures are:

https://smootherconsulting.com/learn/power-bi-calculation-groups-and-implicit-measures

 

The solution (as described in the article) is to create explicit measures with DAX to replace the previous implicit measures, and use these in visuals or conditional formatting settings.

 

It is possible that the conditional formatting was set up previously, before the first calculation group was created. The existing conditional formatting settings will continue to work but can't be changed without switching to explicit measures.

 

Regards


Owen Auger
Did I answer your question? Mark my post as a solution!
Blog
Twitter
LinkedIn

View solution in original post

4 REPLIES 4
jfprend
Regular Visitor

this tool never fails to disappoint

057Sophie
Helper I
Helper I

I have no calculation groups so far on my model and somehow all ma subtitles disappeared from my report, while they were all set to a field value coming from a measure I have.

This is quite new for me too (beginning of the week maybe)

EG-1984
New Member

Thanks @OwenAuger for your quick reply, this would make sense so I'll try replacing my implict measures.

OwenAuger
Super User
Super User

Hi there @EG-1984 

I'm hazarding a guess here: by any chance are there one or more calculation groups in the dataset?

 

A side effect of adding calculation groups is that the "Discourage Implicit Measures" model option is forcibly set to True. This stops any new implicit measures being used in visuals or conditional formatting settings. Existing implicit measures will continue to work though.

 

Here's one article describing the issue and what implicit measures are:

https://smootherconsulting.com/learn/power-bi-calculation-groups-and-implicit-measures

 

The solution (as described in the article) is to create explicit measures with DAX to replace the previous implicit measures, and use these in visuals or conditional formatting settings.

 

It is possible that the conditional formatting was set up previously, before the first calculation group was created. The existing conditional formatting settings will continue to work but can't be changed without switching to explicit measures.

 

Regards


Owen Auger
Did I answer your question? Mark my post as a solution!
Blog
Twitter
LinkedIn

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!

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.