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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.