Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Excel or Web connection in dataset linear view: why so?

What is the reason that some connected Excel workbooks present as Excel books, and others as Web ? All of the sources are Excel books, but we noticed that books with .xlsx extensions exist as Excel, but .xlsm as Web connection. What is the reason behind of that? 

Screen:
https://i.imgur.com/MzSDt5S.png

1 ACCEPTED SOLUTION
v-cazheng-msft
Community Support
Community Support

Hi @Anonymous 

Normally when importing local file in Power BI Desktop, we'll use specific file-type connector to import that file. However, if the file (such as Excel workbook or CSV) is located on the web, we must use the Web connector to import the file. Power BI will judge the type of the file itself. If Power BI judge the content of link as an Excel workbook, it will connect to the data source like connecting to an local Excel. If Power BI judge the content of the link as an web page, it will connect to the data source like connecting to a web page. For Excel exists as Excel or Web connection, this should be affected by the version of the Excel file and Data display format in the link.  

 

1 Connect to a xlsx file on OneDrive by Web connector

v-cazheng-msft_0-1620032545218.png

 

2 Connect to a xlsm file on OneDrive by Web connector

v-cazheng-msft_1-1620032545221.png

 

3 Connect to a CSV file on OneDrive by Web connector

v-cazheng-msft_2-1620032545222.png

 

4 Connect to a xlsx file on Google by Web connector

v-cazheng-msft_3-1620032668217.png

 

Best Regards

Caiyun Zheng

 

Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution. Really appreciate!

 

 

View solution in original post

2 REPLIES 2
v-cazheng-msft
Community Support
Community Support

Hi @Anonymous 

Normally when importing local file in Power BI Desktop, we'll use specific file-type connector to import that file. However, if the file (such as Excel workbook or CSV) is located on the web, we must use the Web connector to import the file. Power BI will judge the type of the file itself. If Power BI judge the content of link as an Excel workbook, it will connect to the data source like connecting to an local Excel. If Power BI judge the content of the link as an web page, it will connect to the data source like connecting to a web page. For Excel exists as Excel or Web connection, this should be affected by the version of the Excel file and Data display format in the link.  

 

1 Connect to a xlsx file on OneDrive by Web connector

v-cazheng-msft_0-1620032545218.png

 

2 Connect to a xlsm file on OneDrive by Web connector

v-cazheng-msft_1-1620032545221.png

 

3 Connect to a CSV file on OneDrive by Web connector

v-cazheng-msft_2-1620032545222.png

 

4 Connect to a xlsx file on Google by Web connector

v-cazheng-msft_3-1620032668217.png

 

Best Regards

Caiyun Zheng

 

Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution. Really appreciate!

 

 

Anonymous
Not applicable

Thank you for clarification. 
I was wondering mostly about first two points you have mentioned, xlsx / xlsm. What is the difference for them for Power BI, that they have different types of connection? Both of them Excel books, and both are stored on OneDrive.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors