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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
Erik01
New Member

Help Power Bi Desktop line color and text formatting

Hello everybody,

I am creating a report whose present data is extrapolated from an excel file present in a sharepoint folder, in this report there is a visual object containing a table as shown below.

 

Screen1.png

 

I would like Power Bi to color me red only those lines in which the CHGs are still "Work in Progress" after 7 days from the Planned end date.

I saw that it is not possible to do conditional formatting in that sense as for excel files, is there another way?

 

In addition, the excel file to which Power Bi Desktop is connected, extrapolates the data from ServiceNow and I notice that the text is always extrapolated with html tags, as reported below and this also affects Power Bi, is there a way to solve?

 

(File Excel)

 

Screen4.png

 

(Power Bi Desktop)

 

Screen3.png Screen2.png

 

Thank you very much

3 REPLIES 3
Erik01
New Member

Thank you so much for your reply and for the great advice on removing html from text.

 

What I would like to obtain in the table is that Power Bi independently colors me red only the rows in which there are CHGs that have a Planned End Date at the current date greater than 7 days.

 

Thank you very much

Please provide sanitized sample data that fully covers your issue. I cannot help you without meaningful sample data.
Please paste the data into a table in your post or use one of the file services like OneDrive or Google Drive. I cannot use screenshots of your source data.
Please show the expected outcome based on the sample data you provided. Screenshots of the expected outcome are ok.

https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...
https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523

lbendlin
Super User
Super User

Power Query has an XML (HTML) parser, you can extract the required data that way.

 

Please provide sanitized sample data that fully covers your issue.
Please show the expected outcome based on the sample data you provided.

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

Check out the February 2024 Power BI update to learn about new features.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.