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
Chetan----
Regular Visitor

Empty Space before bullet points while converting HTML to text IN REPORT BUILDER POWER BI

I have data in sql server ,There is one column which has HTML Tags ,

I have taken on table visual and and added filter to and and added HTML Tags column in cell of table and did "HTML - Interpreter tags as a style".Then When I run the report these gives thes output--

 

Chetan_0-1706885320852.png

In these the problem is Before bullet points it has some space .I want bullet should start from extreme left of that box.I do not know what is the reason behind it.I have made padding to "0pt" for left and made left Alignment of text  but still it keeps blank space before the bullet.Can anyone help me with it.

For the above Text box ,These is the column with HTML tags as shown below --

<ul> <li style="text-align: left;">Cyclicality</li> <li style="text-align: left;">Historical Financial Performance / Recent Margin Ramp</li> <li style="text-align: left;">Competitive Differentiation</li> </ul>

6 REPLIES 6
Chetan----
Regular Visitor

Do I have to make changes in HTML source?

Or can It be done by via sql server by using replace function etc...(I tried using replace finction,adding CSS style start from left via sql server but it did not work.

both options should work.

Can u please suggest me In the below HTML Tag,what needs to be replaced via sql query to remove blank spaces before the bullets--

 

<ul> <li style="text-align: left;">Cyclicality</li> <li style="text-align: left;">Historical Financial Performance / Recent Margin Ramp</li> <li style="text-align: left;">Competitive Differentiation</li> </ul>

SELECT
*,
REPLACE(commentary, '<ul>', '<ul style="text-align: left; margin: 0; padding: 0;">') AS UpdatedCommentary
FROM x

 

here I tried adding CSS but still there is blank space before bullet exist?

lbendlin
Super User
Super User

That's the way list items render by default.  Use CSS to modify that behavior.

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

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 community update carousel

Fabric Community Update - June 2025

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