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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

Reply
Saloni
Helper I
Helper I

Data Refresh

I have made a bar chart out of some data. The target company is highlighted in red.

Now, if I change my data in the excel sheet(with a different list of companies and a different target) and then click the refresh button on PBI, how can I get PBI to identify the new target company and highlight it in red?

doubt.PNG

 

Appreciate your help!

3 REPLIES 3
v-qiuyu-msft
Community Support
Community Support

Hi @Saloni,

 

In Power BI, there is no OOTB feature for us to specify color based on a condition for the chart visual. So in your scenario, each time the data is refreshed and tartget is chnaged, you need to highlight the new target manually.

 

To work around the issue, you can try to add one column field in the Excel file to identify the target, then use the combo chart (eg: Line and clustered column chart), place the this new column as line values.

 

e1.PNG

 

Best Regards,
Qiuyun Yu

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hi 

 

  If you use local excel file to create a powerbi report then it will import all the data from excel into Power Bi services (cloud). It will not have a connection to your local file so if you do any changes in your excel then it will not affect. 

 

 In case, if you use excel file from one drive or SharePoint then it will have a direct connection so if any changes happened on data then you can see the changes on the report.

 

Thanks

Hari

If I click on the refresh button, the data should change right? The new data in the excel sheet should appear on all the charts. My question is how can Power BI identify the new target company and highlight it in a different color?

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

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

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.