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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Hayleysea
Resolver II
Resolver II

Conditional formatting only applying to one rule

Hi There,

 

I have a % measure which changes according to the week the page is filtered on. I need to add conditional formatting to this measure in a table which compares the previous week with the current week and applies up and down arrows or a dash based on whether the % has increased, decreased or stayed the same.

 

I have a measure written to put behind my conditional formatting as follows:

 

Measure = IF(CALCULATE(([%]),DATEADD(Table[Date],-7, DAY))< [%], 1, IF(CALCULATE(([%]),DATEADD(Table[Date],-7, DAY))> [%],2, IF(CALCULATE(([%]),DATEADD(Table[Date],-7, DAY))< [%],3)))
 
I then put Icon Conditional formatting on my table based on field being the measure above.
 
If value IS 1 then Up Arrow
If value IS 2 then Down Arrow
If value IS 3 then Dash
 
Right now only the up arrow is working with the 1 reference?
 
Any help really appreciated 😄
1 ACCEPTED SOLUTION
dax
Community Support
Community Support

Hi @Hayleysea , 

I am not sure which cause your problem, I think you need to use Meausre(you siad that your measure name is Measure) in conditional formatting like below

541.PNG

In addition, you aslo could add this measure in table to see the value of measure(check whether it will contains other number or it willl only return one value).

You also need to check your expression, this seems to be duplicated condition.

542.PNG

By the way, if possible, you also could upload your sample on forum, then we could check this in our environment.

Please do mask sensitive data before uploading.

Thanks for your understanding and support.
Best Regards,
Zoe Zhi

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

8 REPLIES 8
rajulshah
Resident Rockstar
Resident Rockstar

Hello @Hayleysea,

Please change the summarization of the field in the Conditional Formatting Settings. Please see below:
cfsummarization.png

 

It helped me. See below:
result.png

 

Hope this helps.

I think because it's a measure I don't get the option to change the summarisation. I created the measure as a column instead and went through all of the summarisation options but none of them worked.Conditional Formatting.PNG

Hello @Hayleysea,

I tried on measure too. And for me, it is working as expected. Please see below:
cfsummarization1.pngresult1.png

Thankyou! Could you please share your measure? I think that's where my problem is.

@Hayleysea, I have used my measure. Can you please share your measure so that I can see where the problem is?

Okay thanks, It's in my original description 🙂 the measure i'm using behind the conditional formatting is:

 

Measure = IF(CALCULATE(([%]),DATEADD(Table[Date],-7, DAY))< [%], 1, IF(CALCULATE(([%]),DATEADD(Table[Date],-7, DAY))> [%],2, IF(CALCULATE(([%]),DATEADD(Table[Date],-7, DAY))< [%],3)))

dax
Community Support
Community Support

Hi @Hayleysea , 

I am not sure which cause your problem, I think you need to use Meausre(you siad that your measure name is Measure) in conditional formatting like below

541.PNG

In addition, you aslo could add this measure in table to see the value of measure(check whether it will contains other number or it willl only return one value).

You also need to check your expression, this seems to be duplicated condition.

542.PNG

By the way, if possible, you also could upload your sample on forum, then we could check this in our environment.

Please do mask sensitive data before uploading.

Thanks for your understanding and support.
Best Regards,
Zoe Zhi

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Yes, I got that. But please provide the DAX query for measure [%].

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors