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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
KPalmer2022
New Member

Generate a barcode

Is there a way to generate a barcode in visual format (bars) based upon data in a column field that is identified as a barcode? We need to show the barcode as a visual in the report. I'd like it to display in a column in a table absed upon the field values in another column.

 

I can do this in Excel with a specific font we downloaded; but not sure how to get it to generate the bar code as  bars, or get it to recognize the visual font from excel.- Any help?

I am not an experienced code writer, and you'd think it would be rather simple by now?

1 ACCEPTED SOLUTION
VahidDM
Super User
Super User

@KPalmer2022 

 

You can use HTML visual and HTML code to create a table and barcode. To add a Barcode to your report you need to use Google fonts in HTML code:

 

Check this blogpost:

 

https://www.vahiddm.com/post/how-to-use-google-fonts-or-highlight-text-in-power-bi

 

and Barcode Google fonts:

https://fonts.google.com/specimen/Libre+Barcode+39

 

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: 
www.linkedin.com/in/vahid-dm/

 

 

View solution in original post

1 REPLY 1
VahidDM
Super User
Super User

@KPalmer2022 

 

You can use HTML visual and HTML code to create a table and barcode. To add a Barcode to your report you need to use Google fonts in HTML code:

 

Check this blogpost:

 

https://www.vahiddm.com/post/how-to-use-google-fonts-or-highlight-text-in-power-bi

 

and Barcode Google fonts:

https://fonts.google.com/specimen/Libre+Barcode+39

 

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: 
www.linkedin.com/in/vahid-dm/

 

 

Helpful resources

Announcements
Fabric Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

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.