Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hi,
I have a question regarding importing a custom font. The font I would like to install is called "Libre Barcode 39". I tried all the methods described online, but somehow it is not working for this specific font. It does not show a barcode, but just a regular font. For other custom fonts it did work. I do have this font installed on my PC. Do you have a suggestion what else I could try?
Solved! Go to Solution.
Hi @JintePomper ,
From official documents, the barcode data category is used to filter report by scanning the barcode in real world. For example, the corresponding product number of a barcode is 7290010237530, also there is a productNo field in desktop containing this value. When we scan the barcode of the real product, we can view its related report generated in Desktop. For details, please have a look at this video.
If you want to display barcode in Power BI, please using the barcode api instead of qrcode. https://github.com/metafloor/bwip-js/wiki/Online-Barcode-API
This is my test, I add a calculated column:
Barcode API = "http://bwipjs-api.metafloor.com/?bcid=" & "code128&text=" & [Barcode]
Then set the data category of [Barcode API] as Image URL.
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @JintePomper ,
I think you do not need to install custom font, because in Power BI Desktop, you can also categorize a column as Barcode. These are the barcode formats Power BI recognizes if you can tag them in a Power BI report:
Then on the Column tools tab, select Data Category > Barcode.
Refering: Tag barcode fields in Power BI Desktop to enable barcode-scan filtering in the mobile apps
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Winniz,
Thank you for your response! I indeed tried that out, but in the report the barcodes are not shown as barcodes, but just as numbers. I need to display the codes as barcodes in the report, so the client can scan the codes from the report. Do you know how I can implement that?
Kind regards,
Jinte
Hi @JintePomper ,
From official documents, the barcode data category is used to filter report by scanning the barcode in real world. For example, the corresponding product number of a barcode is 7290010237530, also there is a productNo field in desktop containing this value. When we scan the barcode of the real product, we can view its related report generated in Desktop. For details, please have a look at this video.
If you want to display barcode in Power BI, please using the barcode api instead of qrcode. https://github.com/metafloor/bwip-js/wiki/Online-Barcode-API
This is my test, I add a calculated column:
Barcode API = "http://bwipjs-api.metafloor.com/?bcid=" & "code128&text=" & [Barcode]
Then set the data category of [Barcode API] as Image URL.
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
This worked for me as well. I did notice is the barcode images are random heights. Is there a fix for this? I tried the scaleY & ScaleX variables but didn't seem to help.
Dear Winniz,
Thank you very much for your help! This solution worked for me! You have saved me a lot of time and trouble 🙂
Kind regards,
Jinte
This is realy cool!
I just replaced code128 by code39 since I noticed he mentioned Libre Barcode 39 and it is working.
Proud to be a Super User!
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
92 | |
86 | |
83 | |
66 | |
49 |
User | Count |
---|---|
140 | |
114 | |
108 | |
64 | |
60 |