bi导入数据失败 power_教程:导入和分析网页中的数据 - Power BI | Microsoft Docs

本教程指导如何使用Power BI Desktop从Wikipedia获取并分析欧洲杯足球锦标赛的获胜队伍数据。首先,连接到Web数据源,选择包含所需数据的表格。然后,通过Power Query编辑器调整和转换数据,删除多余列,过滤并重命名列。接着,筛选出年份和获胜国家,将查询命名为“欧洲杯获胜队”并导入报表。最后,创建地图和饼图可视化,展示不同国家的夺冠次数。
摘要由CSDN通过智能技术生成

教程:使用 Power BI Desktop 分析网页数据Tutorial: Analyze webpage data by using Power BI Desktop

01/13/2020

本文内容

作为资深球迷,你想要获得多年来欧足联欧洲锦标赛(欧洲杯)获胜队的报导。As a long-time soccer fan, you want to report on the UEFA European Championship (Euro Cup) winners over the years. 使用 Power BI Desktop,可以将此数据从网页导入到报表,并创建显示数据的可视化效果。With Power BI Desktop, you can import this data from a web page into a report and create visualizations that show the data. 在本教程中,将学习如何使用 Power BI Desktop 完成以下操作:In this tutorial, you learn how to use Power BI Desktop to:

连接到 Web 数据源并在可用表之间导航。Connect to a web data source and navigate across its available tables.

调整并转换 Power Query 编辑器中的数据。Shape and transform data in the Power Query Editor.

命名查询并将其导入 Power BI Desktop 报表。Name a query and import it into a Power BI Desktop report.

创建和自定义地图和饼图可视化效果。Create and customize a map and a pie chart visualization.

连接到 Web 数据源Connect to a web data source

You can get the UEFA winners data from the Results table on the UEFA European Football Championship Wikipedia page at https://en.wikipedia.org/wiki/UEFA_European_Football_Championship.

仅使用基本身份验证建立 Web 连接。Web connections are only established using basic authentication. 需要身份验证的网站可能无法正常使用 Web 连接器。Web sites requiring authentication may not work properly with the Web connector.

若要导入数据,请执行下列操作:To import the data:

在 Power BI Desktop“主页” 功能区选项卡中,下拉“获取数据”旁边的箭头 ,然后选择“Web” 。In the Power BI Desktop Home ribbon tab, drop down the arrow next to Get Data, and then select Web.

备注

你还可以选择“获取数据” 项本身,或者从 Power BI Desktop“开始”对话框中选择“获取数据” ,再从“获取数据” 对话框的“所有” 或“其他” 部分中选择“Web” ,然后选择“连接” 。You can also select the Get Data item itself, or select Get Data from the Power BI Desktop get started dialog, then select Web from the All or Other section of the Get Data dialog, and then select Connect.

在“从 Web” 对话框中,将 URL https://en.wikipedia.org/wiki/UEFA_European_Football_Championship 粘贴到“URL” 文本框,然后选择“确定” 。In the From Web dialog, paste the URL https://en.wikipedia.org/wiki/UEFA_European_Football_Championship into the URL text box, and then select OK.

在连接到维基百科网页后,“导航器” 对话框会在页面上显示可用表的列表。After connecting to the Wikipedia web page, the Navigator dialog shows a list of available tables on the page. 可以选择任意表名称以预览其数据。You can select any of the table names to preview its data. “结果[编辑]” 表具有所需的数据,尽管它不完全是你希望的外观。The Results[edit] table has the data

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值