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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Marvhall
Helper I
Helper I

Calculating difference between percentages in a matrix and then showing appropriate Icon

Marvhall_0-1653072789731.png

 

I am trying to show the appropriate icon for these values.

- a "-" where the percents are the same rounded to 1 decimal

- an up arrow for an increase in percent when rounded to 1 decimal

- a down arrow for a decrease in percent when rounded to 1 decimal

 

I used the "Percent of Row Total". rather than calculating it out by hand.

 

I use the visualization to calculate the row percentages. I could have a formula to do this if it's easier. Below is data as seen in the table.

                                    Population

  Regions    Marvhall_1-1653073078569.png

 

There are 5 regions and 3 different populations. I have the data for the current month and data for the previous month.

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi  @Marvhall ,

I created a sample pbix file(see attachment) for you, please check whether that is what you want.

yingyinr_0-1653296833964.png

Use conditional formatting in tables

If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

Best Regards

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi  @Marvhall ,

I created a sample pbix file(see attachment) for you, please check whether that is what you want.

yingyinr_0-1653296833964.png

Use conditional formatting in tables

If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

Best Regards

So close. See image below. The arrows are correct, technically. Is there a way to have it based on the value when rounded to 1 decimal place? See second image.

 

Marvhall_0-1653324579000.png

Would like the same values when rounded to 1 decimal to be a dash (no change).

Marvhall_1-1653324845614.png

 

Thanks!

Anonymous
Not applicable

Hi @Marvhall ,

You can select the measure [Current Month] and [Previous Month] separately and set the decimal places as 1 just as screenshot below, please find the details in the attachment.

yingyinr_0-1653355237393.png

Best Regards

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 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.