Forum Discussion
Cannot see barcode in powerbi Report Builder when uploaded to server
- 5 years ago
Hi Anonymous ,
Please refer to support barcode formats:https://docs.microsoft.com/en-us/power-bi/transform-model/desktop-mobile-barcodes#supported-barcode-formats
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
- 5 years ago
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 - Anonymous5 years ago
For QR CODE It is "https://bwipjs-api.metafloor.com/?bcid=qrcode&includetext&text="&Fields!barcode.Value
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.