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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
elnabeleon
Frequent Visitor

Cannot see barcode in powerbi Report Builder when uploaded to server

I can see the Bar code locally but when i run the report on server, I cannot see the bar code displaying in the report. Please help!.

3 ACCEPTED SOLUTIONS

Hi @elnabeleon ,

 

Please refer to support barcode formats:https://docs.microsoft.com/en-us/power-bi/transform-model/desktop-mobile-barcodes#supported-barcode-...

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Best Regards,

Dedmon Dai

View solution in original post

i was able to get this done.

used the online barcode api https://github.com/metafloor/bwip-js/wiki/Online-Barcode-API 
i used image and in the expression used the URL 
="https://bwipjs-api.metafloor.com/?bcid=code128&includetext&text="&Fields!barcode.Value

dubeyneeraj_0-1620648373008.png

 

 

View solution in original post

9 REPLIES 9
gneironi
New Member

There are another way without using and API, Font or Library:

1) decode the input value in a 0's and 1's string reprenting the value in code39 standar barcode sintax.

2) add a rectangle for each character in this new string. This rectangles must have the same width and need to be side by side.

3) add an expression to change the background color in each rectangle in order with the character in the string (0 = White, 1 = Black)

4) when rendering this provide as a readable and correct barcode in code39 standar.

 

I already made some implementation and works well.

dubeyneeraj
Frequent Visitor

Are you able to see the Barcode in Report when Run on Server ?

I can't. I've research and found out API option but need to dig in more.

i was able to get this done.

used the online barcode api https://github.com/metafloor/bwip-js/wiki/Online-Barcode-API 
i used image and in the expression used the URL 
="https://bwipjs-api.metafloor.com/?bcid=code128&includetext&text="&Fields!barcode.Value

dubeyneeraj_0-1620648373008.png

 

 

I am looking into Printing QR Code instead of Bar code. Do you know that part?

For QR CODE It is "https://bwipjs-api.metafloor.com/?bcid=qrcode&includetext&text="&Fields!barcode.Value

dpFr33
Advocate II
Advocate II

Hi,

How do you generate the bar code? With a font?
If yes, the font file must be on the Power BI Report Server too.

Regards,

Denis

Do you have a way to install bar code font on server?

Hi @elnabeleon ,

 

Please refer to support barcode formats:https://docs.microsoft.com/en-us/power-bi/transform-model/desktop-mobile-barcodes#supported-barcode-...

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Best Regards,

Dedmon Dai

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.