![]() |
VOOZH | about |
NOTE: For Excel for the web (Excel 365) and Excel 2019 or higher, Power View is no longer supported. Microsoft encourages the use of Power BI for those users. Please read our article on working with Hugging Face in Power BI using our Power BI connector for more information.
You can use the built-in ODBC support in Excel to rapidly create Power View reports featuring Hugging Face data. This article shows how to use the Data Connection Wizard, accessible from the Data ribbon, to import Hugging Face data into a Power View report.
If you have not already, first specify connection properties in an ODBC DSN (data source name). This is the last step of the driver installation. You can use the Microsoft ODBC Data Source Administrator to create and configure ODBC DSNs.
HuggingFace Hub uses token-based authentication to enable access to its API. The API provides access to machine learning models, datasets, spaces, papers, and other resources on the HuggingFace Hub platform.
To authenticate to HuggingFace Hub, you will need to provide an API Key (Access Token). To obtain your access token:
After obtaining your access token, set the following connection properties:
Profile=C:\profiles\HuggingFace.apip;ProfileSettings='APIKey=hf_xxxxxxxxxxxxxxxxxxxx';
When you configure the DSN, you may also want to set the Max Rows connection property. This will limit the number of rows returned, which is especially helpful for improving performance when designing reports and visualizations.
Follow the steps below to connect to the DSN from the Data Connection Wizard in Excel.
Select the tables you want to work with.
If you want to import multiple tables, deselect the "Connect to a specific table" option. After you connect to the data source, you can select multiple tables: After you click Finish to close the Data Connection Wizard, select the "Enable selection of multiple tables" option in the Select Table dialog.
Tables are the starting point for charts and other representations of your data. To create a table, select a column in the field list. You can also drag and drop table names and column names onto the view.
👁 A table with a filter applied. (Salesforce is shown.)On the Design tab, you can change tables into charts and other visualizations.
👁 The table of data represented as a stacked bar chart. (Salesforce is shown.)Connect to live data from Hugging Face with the API Driver
Connect to Hugging Face