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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
MZZ
Regular Visitor

Conditional formatting on calculated item in calculation group

Hello!

 

I've this issue - been following video on how to apply format in calculation item which is "vs prev month". https://www.youtube.com/watch?v=ToAlPA5KvUc

 

But from some reason it does not work, my setup:

calculation group:

MZZ_0-1772785084909.png

Then I created a measure as per vid:

MZZ_1-1772785117714.png

 

and applied this in conditional formatting icons :

MZZ_2-1772785150187.png

 

 

as you can see on table, vs prev month values are slightly moved to the left, as if icon is there, but it's not showing anything, conditional formatting setup:

MZZ_3-1772785188889.png

any ideas why it doesnt work? I digged through all available resources on the internet 

 

 

1 ACCEPTED SOLUTION
5 REPLIES 5
MZZ
Regular Visitor

Hello!

 

This is not something I asked for, please read my thread carefully 🙂

 

It should be combined with calculation groups + proper formatting for division (which should be %). 

 

The pbix you did is basic scenario, where everything works. But when you try it in calculation group from some reason formatting does not work....

MZZ
Regular Visitor

Thanks for that link.

 

Actually....the issue was that in my calculation item responsible for division I used code where I referred to other calculation items, sth like:

MZZ_0-1773128367782.png

so formatting didn't work...when I removed calculate() and pasted the actual code from calculation items formatting worked

MZZ_1-1773128411425.png

 


I think it's a bit...unintuitive to be honest, but I'm glad I solved that error.

 

 

MZZ
Regular Visitor

ah, and here is the model:

MZZ_0-1772785272954.png

 

Hi @MZZ

Thank you for reaching out to the Microsoft fabric community forum.  I reproduced the scenario again, and it worked on my end. I used it as sample data and successfully implemented it.

 

outcome:

vkpolojumsft_0-1772967765106.png

I am also including .pbix file for your better understanding, please have a look into it.

 

Hope this clears it up. Let us know if you have any doubts regarding this. We will be happy to help.

Thank you for using the Microsoft Fabric Community Forum

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.