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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
daveedd
Helper II
Helper II

Pull selected columns from Web source without removing after

Hi all,

 

I'm connecting to a ServiceNow table via a web source.  That table has 155 columns of which I want around 30.  I know I can pull all 155 and remove the ones I don't want, but is there a way I can just list out the 30 to pull in the first place and make it more efficient?

 

The first couple lines of my advanced editor currently look like this

 

Source = Json.Document(Web.Contents("https://xxxxxxxxxx/api/now/table/sn_customerservice_case?sysparm_query=sys_created_onRELATIVEGT@dayo...", [Headers=[Accept="application/json"]])),
#"Converted to Table" = Table.FromRecords({Source})

 

Thanks in advance

1 ACCEPTED SOLUTION

Hi @daveedd 

That does not matter, because only the first 1000 rows are loaded in power query, you can see the prompt in the lower left corner of the software. Hence, only the remaining columns will be loaded into the data model if you remove some columns in Power Query Editor.

vxiaotang_0-1647590021478.png

-

However, when your Power BI Desktop file contains many queries, retrieving and storing preview data can extend the time it takes to complete a refresh. You'll achieve a faster refresh by setting the Power BI Desktop file to update the preview cache in the background.

In Power BI Desktop, you enable it by selecting File > Options and settings > Options, and then selecting the Data Load page. You can then turn on the Allow data preview to download in the background option.

Note this option can only be set for the current file.

vxiaotang_1-1647590256801.png

FYI: Disable Power Query background refresh - Power BI | Microsoft Docs

 

 

Best Regards,

Community Support Team _Tang

If this post helps, please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

@daveedd , select 30, and remove others in power query.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

@amitchandak  Thanks for the response - I was wondering if there's a way to limit the data coming in rather than removing after the initial pull.  Pulling 125 unnessisary fields and then removing them feels inefficient.

Hi @daveedd 

That does not matter, because only the first 1000 rows are loaded in power query, you can see the prompt in the lower left corner of the software. Hence, only the remaining columns will be loaded into the data model if you remove some columns in Power Query Editor.

vxiaotang_0-1647590021478.png

-

However, when your Power BI Desktop file contains many queries, retrieving and storing preview data can extend the time it takes to complete a refresh. You'll achieve a faster refresh by setting the Power BI Desktop file to update the preview cache in the background.

In Power BI Desktop, you enable it by selecting File > Options and settings > Options, and then selecting the Data Load page. You can then turn on the Allow data preview to download in the background option.

Note this option can only be set for the current file.

vxiaotang_1-1647590256801.png

FYI: Disable Power Query background refresh - Power BI | Microsoft Docs

 

 

Best Regards,

Community Support Team _Tang

If this post helps, please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors