面向 Power BI 使用者的问答 Q&A for Power BI consumers

“问答”是什么?What is Q&A?

有时从你的数据中获得答案的最快方法是使用自然语言提问。Sometimes the fastest way to get an answer from your data is to ask a question using natural language. 例如,“去年的销售总额是多少”。For example, "what were total sales last year."

使用“问答”来利用直观、自然的语言功能浏览数据并接收图表和图形形式的答案。Use Q&A to explore your data using intuitive, natural language capabilities and receive answers in the form of charts and graphs. “问答”与搜索引擎不同 --“问答”仅提供有关 Power BI 中的数据的结果。Q&A is different from a search engine -- Q&A only provides results about the data in Power BI.

使用专业版或高级版许可证可访问“Power BI 问答” 。Power BI Q&A is available with a Pro or Premium license. Power BI 移动应用中的问答Power BI Embedded 中的问答通过单独的文章进行了介绍。Q&A in the Power BI mobile apps and Q&A with Power BI Embedded are covered in separate articles. 目前,Power BI 问答 只支持回答用英语询问的自然语言查询,尽管有西班牙语预览版问答可供 Power BI 管理员启用。At the current time, Power BI Q&A only supports answering natural language queries asked in English, although there is a preview available for Spanish that can be enabled by your Power BI administrator.

问答创建树状图

提问仅仅是个开始。Asking the question is just the beginning. 在完善数据或扩展问题、发现可信的新信息、专注细节以及缩小以获得更宽广的视野的过程中找到乐趣吧。Have fun traveling through your data refining or expanding your question, uncovering trust-worthy new information, zeroing in on details and zooming out for a broader view. 你将会满意你的见解和发现。You’ll be delighted by the insights and discoveries you make.

体验是真正的交互式…并且快速!The experience is truly interactive…and fast! 由内存存储提供支持,响应几乎瞬时完成。Powered by an in-memory storage, response is almost instantaneous.

在哪里可以使用问答?Where can I use Q&A?

问答位于 Power BI 服务中的仪表板上,以及 Power BI 移动版的仪表板底部。You'll find Q&A on dashboards in the Power BI service, and at the bottom of the dashboard in Power BI mobile. 只有在设计者授予编辑权限后,才能使用 Power BI 问答浏览数据,但无法保存通过 Power BI 问答创建的任何可视化效果。Unless the designer has given you edit permissions, you'll be able to use Q&A to explore data but won't be able to save any visualizations created with Q&A.

问题框

在 Power BI 服务中的仪表板上使用问答Use Q&A on a dashboard in the Power BI service

在 Power BI 服务 (app.powerbi.com) 中,由于仪表板包含从一个或多个数据集固定的磁贴,因此可以就其中任一数据集中的任何数据提问。In the Power BI service (app.powerbi.com), a dashboard contains tiles pinned from one or more datasets, so you can ask questions about any of the data contained in any of those datasets. 若要查看用于创建仪表板的报表和数据集,请选择菜单栏中的“查看相关项” 。To see what reports and datasets were used to create the dashboard, select View related from the menu bar.

顶部菜单栏中的“查看相关项”按钮

如何开始使用该功能?How do I start?

首先,熟悉内容。First, get familiar with the content. 查看仪表板和报表中的视觉对象。Take a look at the visuals on the dashboard and in the report. 了解可用的数据类型和范围。Get a feel for the type and range of data that is available to you.

例如:For example:

  • 如果视觉对象的坐标轴标签和值包括“销售额”、“帐户”、“月份”和“商机”,你可以有把握地提出以下问题:“哪个帐户 的商机 最大”或“以条形图的形式按月显示销售额 ”。If a visual's axis labels and values include "sales", "account", "month", and "opportunities", then you can confidently ask questions such as: "Which account has the highest opportunity, or show sales by month as a bar chart."

  • 如果可以通过 Google Analytics(Google 分析)获取网站性能数据,则可以向“问答”提出关于花在网页上的时间、独特网页访问数以及用户参与度方面的问题。If you have website performance data in Google Analytics, you can ask Q&A about time spent on a web page, number of unique page visits, and user engagement rates. 如果你要查询地理数据,则可以按位置就年龄和家庭收入提问。Or, if you’re querying demographic data, you might ask questions about age and household income by location.

熟悉数据后,立即返回到仪表板,并将光标放在问题框中。Once you're familiar with the data, head back to the dashboard and place your cursor in the question box. 这会打开问答屏幕。This opens the Q&A screen.

问答屏幕

在开始键入前,“问答”会显示新的屏幕,上面有帮助你提问的一些建议。Even before you start typing, Q&A displays a new screen with suggestions to help you form your question. 你会看到,包含基础数据集中表名称的短语和问题,甚至还会看到由数据集所有者创建的特别推荐 *问题。You see phrases and questions containing the names of the tables in the underlying datasets and may even see featured* questions created by the dataset owner .

可以选择其中任一问题,将其添加到问题框中,然后优化问题,以找到具体答案。You can select any of these to add them to the question box and then refine them to find a specific answer.

问答帮助你提问的另一种方式是通过提示、自动完成和视觉提示。Another way Q&A helps you ask questions is with prompts, auto-complete, and visual cues.

视频

问答使用哪些可视化效果?Which visualization does Q&A use?

问答会根据要显示的数据选取最佳的可视化效果。Q&A picks the best visualization based on the data being displayed. 有时,可将基础数据集中的数据定义为特定类型或类别,以帮助问答识别如何显示数据。Sometimes data in the underlying dataset(s) is defined as a certain type or category and this helps Q&A know how to display it. 例如,如果数据被定义为日期类型,则该数据很有可能显示为线图。For example, if data is defined as a date type, it is more likely to be displayed as a line chart. 如果将数据分类为城市,则很有可能显示为地图。Data that is categorized as a city is more likely to be displayed as a map.

还可以将视觉对象添加到问题中,指示问答要使用哪个视觉对象。You can also tell Q&A which visual to use by adding it to your question. 但请注意,问答并非总能显示你请求使用的视觉对象类型中的数据。But keep in mind that it may not always be possible for Q&A to display the data in the visual type you requested. 问答会提示你提供可显示的视觉对象类型列表。Q&A will prompt you with a list of workable visual types.

注意事项和疑难解答Considerations and troubleshooting

问题:我在仪表板上未看到“问答”。Question: I don't see Q&A on this dashboard.
回答 1:如果你没有看见问题框,首先应检查你的设置。Answer 1: If you don't see a question box, first check your settings. 为此请在 Power BI 工具栏的右上角选择齿轮图标。To do this, select the cog icon in the upper right corner of your Power BI toolbar.
齿轮图标cog icon

然后选择“设置” > “仪表板” 。Then choose Settings > Dashboards. 请确保“在此仪表板上显示问答搜索框”旁有复选标记 。Make sure there is a checkmark next to Show the Q&A search box on this dashboard.
仪表板的问答设置Q&A settings for dashboard

回答 2:有时仪表板设计者或你的管理员关闭了问答 。Answer 2: Sometimes the dashboard designer or your administrator turns Q&A off. 与他们核实,了解是否可以重新打开问答。Check with them to see if it's OK to turn it back on.

问题:输入问题时未得到希望看到的结果。Question: I'm not getting the results I'd like to see when I type a question.
回答:与仪表板设计者沟通 。Answer: Talk to the dashboard designer. 设计者可以执行许多操作来改善问答结果。There are many things the designer can do to improve the Q&A results. 例如,设计者可以将数据集中的列重命名为易于理解的术语(CustomerFirstName而不是 CustFN)。For example, the designer can rename columns in the dataset to use terms that are easily understood (CustomerFirstName instead of CustFN). 设计者非常了解数据集,因此,他也可以提出有用的问题并将其添加到问答画布中。Since the designer knows the dataset really well, the designer can also come up with helpful questions and add them to the Q&A canvas.

后续步骤Next steps

面向 Power BI 使用者的问答提示Q&A tips for Power BI consumers