Forum Discussion
barcode visual in report
We have a use case where it would be good to have a bar code showing on the report. Basically being able to format a number field to appear as a barcode rather than digits. Clearly understaning that this type of reports is not really what Power BI is about, but in this use case it would still be very useful. Is there a way to do that?
Many thanks!
Hi Anonymous,
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.
However, to display barcode format in report view, it is not yet supported now. For details, please have a look at this video.
Best regards,
Yuliana Gu
9 Replies
- v-yulgu-msftMicrosoft Employee
Hi Anonymous,
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.
However, to display barcode format in report view, it is not yet supported now. For details, please have a look at this video.
Best regards,
Yuliana Gu
- NVMRegular Visitor
Hi v-yulgu-msft ,
I now also want to generate and display barcodes in reports from strings or numbers.
Does Power BI support such features currently ?Sincere thanks.
- zupkaNew Member
Hello,
it was not supported in 2018, and now?
Is there a way to show barcodes in a visual as graphic, and not digits?
- ThejeswarSuper User
Anonymous,
You mean to say, that you want to display digits as barcode.
If it is so,
There is a way.
Change the Data Category for that column to "Barcode" in the Modelling Tab of the Ribbon at the top
- AnonymousNot applicable
That's what I thought as well and I did that both in the data view and the report view but the field still shows up as normal digits. Is it only supported by certainl visuals? I tried with a regular Table and a Card, but the same result... I'm probably doing something wrong then I guess.
- ThejeswarSuper User
Anonymous,
That's it we have to do to show bar codes.
please check if your barcode matches the formats supported by Power BI as given in the below link
https://pbiwebprod-docs.azurewebsites.net/en-us/documentation/powerbi-desktop-mobile-barcodes/
- AnonymousNot applicable
it seems it is not supported but what i did as workaround I just used the image control with external source
then use expression
="https://api.qrserver.com/v1/create-qr-code/?size=200x200&data="& Fields!yourParamter.value- dubeyneerajFrequent Visitor
Thanks for this work around.i was also looking for same. i use the barcode api instead of qrcode
https://github.com/metafloor/bwip-js/wiki/Online-Barcode-API