使用 iPhone 上的 Power BI 移动应用扫描条形码Scan a barcode with your iPhone from the Power BI mobile app

扫描现实生活中的条形码,直接转到在 Power BI 移动应用中筛选后的 BI 信息。Scan barcodes in the real world to go directly to filtered BI information in the Power BI mobile app.

假设有一个同事已标记 Power BI Desktop 报表中的条形码字段并与你共享该报表。Say a colleague has tagged a barcode field in a report Power BI Desktop and shared the report with you.

当你使用 iPhone 上的 Power BI 应用中的扫描器扫描产品条形码时,可以看到具有该条形码的报表(或报表列表)。When you scan a product barcode with the scanner in the Power BI app on your iPhone, you see the report (or list of reports) with that barcode. 你可以在 iPhone 上打开筛选为该条形码的报表。You can open that report on your iPhone, filtered to that barcode.

使用 Power BI 扫描器扫描条形码Scan a barcode with the Power BI scanner

  1. 在 Power BI 移动应用中打开左上方的主导航菜单 In the Power BI mobile app open the main navigation menu in the upper left.
  2. 向下滚动到“扫描程序”并选择它。Scroll down to Scanner and select it.

  3. 如果未启用照相机,你需要许可 Power BI 应用使用照相机。If your camera is not enabled, you need to approve the Power BI app to use the camera. 此许可为一次性的。This is a one-time approval.
  4. 将扫描器指向产品上的条形码。Point the scanner at a barcode on a product.

    你将看到与该条形码相关联的报表列表。You see a list of reports associated with that barcode.

  5. 点击报表名称以在你的 iPhone 上打开自动为该条形码筛选的报表。Tap the report name to open it on your iPhone, automatically filtered to that barcode.

在报表中由其他条形码筛选Filter by other barcodes while in a report

在 iPhone 上查看通过条形码筛选的报表时,你可能希望通过不同条形码筛选同一个报表。While looking at a report filtered by a barcode on your iPhone, you may want to filter the same report by a different barcode.

  • 如果条形码图标有筛选器 ,筛选器将处于活动状态并且报表已通过条形码筛选。If the barcode icon has a filter , the filter is active and report Is already filtered by a barcode.
  • 如果条码图标没有筛选器 ,筛选器将不会处于活动状态并且报表未通过条形码筛选。If the icon doesn’t contain a filter , the filter isn't active and the report isn’t filtered by a barcode.

无论哪种方式,点击该图标均可打开带有浮动扫描器的小菜单。Either way, tap the icon to open a small menu with a floating scanner.

  • 将扫描器对准新项目,以将报表的筛选器更改为不同的条形码值。Focus the scanner on the new item to change the filter of the report to a different barcode value.
  • 选择“清除条形码筛选器”以返回到未筛选的报表。Select Clear barcode filter to go back to the unfiltered report.
  • 选择“按最近条形码筛选”,将报表筛选器更改为已在当前会话中扫描的一个条形码。Select Filter by recent barcodes to change the report filter to one of the barcodes you've scanned within the current session.

扫描条形码时出现的问题Issues with scanning a barcode

以下是在扫描产品上的条形码时可能会看到的一些消息。Here are some messages you may see when you scan a barcode on a product.

“无法筛选报表...”“Couldn’t filter report...”

你选择进行筛选的报表基于的数据模型不包括此条形码值。The report you choose to filter is based on a data model that does not include this barcode value. 例如,报表不包含产品“矿泉水”。For example, the product "mineral water" isn't included in the report.

报表中的所有/某些视觉对象不包含任何值All/some of the visuals in the report don’t contain any value

扫描的条形码值存在于你的模型中,但报表上的所有/某些视觉对象不包含此值,因此筛选将返回一个空状态。The barcode value you scanned exists in your model but all/Some of the visuals on your report don’t contain this value and therefore filtering will return an empty state. 请尝试查找其他报表页,或在 Power BI Desktop 中编辑报表,使其包含此值Try looking into other report pages or edit your reports in Power BI desktop to contain this value

“看起来你没有可按条形码筛选的任何报表。”“Looks like you don’t have any reports that can be filtered by barcodes.”

这意味着你没有任何已启用条形码的报表。This means you don’t have any barcode-enabled reports. 条形码扫描器只能筛选具有标记为 条形码的列的报表。The barcode scanner can only filter reports that have a column marked as Barcode.

请确保你或报告所有者在 Power BI Desktop 中已将某列标记为条形码Make sure you or the report owner has tagged a column as Barcode in Power BI Desktop. 了解更多关于在 Power BI Desktop 中标记条形码字段的信息Learn more about tagging a barcode field in Power BI Desktop

“无法筛选报表 - 似乎报表数据中无此条形码。”“Couldn’t filter report - Looks like this barcode doesn't exist in the report data.”

你选择进行筛选的报表基于的数据模型不包括此条形码值。The report you chose to filter is based on a data model that doesn't include this barcode value. 例如,报表不包含产品“矿泉水”。For example, the product "mineral water" isn't included in the report. 你可以扫描不同的产品,选择其他报表(如果提供了多个报表)或查看未筛选的报表。You can scan a different product, choose a different report (if more than one report is available), or view the report unfiltered.

后续步骤Next steps