Forum Discussion
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?
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/
1 Reply
- VahidDMSuper User
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/