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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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
Frequent Visitor

this tool never fails to disappoint

057Sophie
Helper II
Helper II

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! Prices go up Feb. 11th.

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

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