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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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