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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
ajdm2007
Helper III
Helper III

Calculating percentage difference and add it to the visualization.

Hey everyone,

 

I’ve managed to add several of my metrics to this visualization, but as you can see, I have some labels showing the indicator values for the previous month. What I need is to display the percentage difference between the current indicator value and the label, which shows the value for the previous month, right next to it.

ajdm2007_0-1728345193396.png

 

I imagine I need to create another metric to divide those two values, but the problem is I want the percentage to show next to the label, not below it.

ajdm2007_1-1728345365070.png

 

Any ideas on how to make that happen or if it’s even possible?

 

 

Thanks a lot!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @ajdm2007 ,

 

As far as I know, currently Power BI doesn't support us to show different colors for one value by conditional formatting. Here I create a multiple card visual and a new card visual. I think the result of new card visual returned is close to what we need, however all value will return green.

vrzhoumsft_1-1728544569482.png

I think you can try to group two visuals. In my sample, I group a multiple card / new card with a card visual. Result is as below.

vrzhoumsft_2-1728544897418.png

You can download my sample file to learn more details.

 

Best Regards,
Rico Zhou

 

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

7 REPLIES 7
CKN
Frequent Visitor

if [a] is your value measure and [b] is the % diff, use 

bb = format([b],"#,##0;(#,##0)") to put [b] into parenthesis, then 
c = COMBINEVALUES("  ",[a],[bb]) to put them side by side. Display [c]
If you want colour changes, play around with the format statement in [bb]

Hello @CKN

 

Thank you very much for your recommendation, but there is a detail that is in the image but I did not mention it.

 

If you look at the example you will see that there is a value in red and another in green, so what I did not say is that I need to apply conditional formatting to that percentage, so at some point it can be red and at another time it can be green.

 

Under this scenario, how could I apply your recommendation? Thanks again.

 

Anonymous
Not applicable

Hi @ajdm2007 ,

 

As far as I know, currently Power BI doesn't support us to show different colors for one value by conditional formatting. Here I create a multiple card visual and a new card visual. I think the result of new card visual returned is close to what we need, however all value will return green.

vrzhoumsft_1-1728544569482.png

I think you can try to group two visuals. In my sample, I group a multiple card / new card with a card visual. Result is as below.

vrzhoumsft_2-1728544897418.png

You can download my sample file to learn more details.

 

Best Regards,
Rico Zhou

 

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

 

CKN
Frequent Visitor

CKN
Frequent Visitor

CKN
Frequent Visitor

try CONBINEVALUES, using "  " as a delim and your 2 measures as the input expressions. Might need to format your percentage diff measure how you want it to appear first ((), colour etc)

Thanks @CKN you couldnt dumb this down a little for a new user? Thanks

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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