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
Bankesy26-_
New Member

Power Bi - Reports on Cell Colours in Excel

Good afternoon all,

 

Hoping somebody more experienced with Power Bi can help me here as I'm still a relative newcomer to Power Bi.

 

Is it possible to import a spreadsheet (or even just a column) that has different coloured cells and then produce graphs based on those colours if I also have a time column?

 

See, the colours mean something to me (high, normal, low) so as an example I am trying to determine how many "high" (red cells) I have over two weeks?

Thanks in advance

1 ACCEPTED SOLUTION
MFelix
Super User
Super User

Hi @Bankesy26-_ ,

 

You can use condittional formatting to format your visuals, and in matrix or table you can also do it:

https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-conditional-table-formatting

 

 

This allows to have flexibility in terms of what you want to show in terms of text, background, icons and werb url.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Thank you MFelix

Hi, @Bankesy26-_ 

Based on your description, I've created the following sample data:

vjianpengmsft_0-1731565122564.png

Start by creating the following measure:

Measure = 
IF( SELECTEDVALUE('Table'[Number]) >= 85,"high",IF(SELECTEDVALUE('Table'[Number])>=50,"normal","low"))

vjianpengmsft_1-1731565240269.png

vjianpengmsft_2-1731565255199.png

Create the following calculated column:

Status = IF([Number]>=85,"high",IF([Number]>=50,"normal","low"))

vjianpengmsft_3-1731565303418.png

vjianpengmsft_5-1731565364254.png

vjianpengmsft_6-1731565383132.png

vjianpengmsft_7-1731565396853.png

The final result is as follows:

vjianpengmsft_9-1731565481928.png

 

How to Get Your Question Answered Quickly

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

Best Regards

Jianpeng Li

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

MFelix
Super User
Super User

Hi @Bankesy26-_ ,

 

You can use condittional formatting to format your visuals, and in matrix or table you can also do it:

https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-conditional-table-formatting

 

 

This allows to have flexibility in terms of what you want to show in terms of text, background, icons and werb url.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



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!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.