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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
PshemekFLK
Helper IV
Helper IV

Power Shell Script to refresh a single table

Hello,

 

I'm not succeeding in refreshing a single table using a Power Shell script.

 

I used the script from this site: Trigger a single table to refresh in the Power BI Service – Data – Marc (data-marc.com)

 

When I paste the script (adjusted with my workspace, dataset and table names) in PowerShell it looks like it suceeded:

powershell.PNG

But when I go to Tabular Editor and check the last processed time on the partition of "fct_sales_update_rr" it shows that it was last processed an hour ago (which is just a regular scheduled refresh):

 

powershell2.PNG

 

Obviously the changes that I made to the table are also not reflected in the report.

 

What am I missing?

 

1 ACCEPTED SOLUTION
Burningsuit
Resident Rockstar
Resident Rockstar

Hi @PshemekFLK 

A couple of things to check.

1) Is the Dataset located on a Premium Capacity or Premium Per User Workspace.

2) Have you enabled XMLA Read-Write in the Capacity.

Burningsuit_0-1673006593791.png

Hope this helps

Stuart

View solution in original post

3 REPLIES 3
Burningsuit
Resident Rockstar
Resident Rockstar

Hi @PshemekFLK 

A couple of things to check.

1) Is the Dataset located on a Premium Capacity or Premium Per User Workspace.

2) Have you enabled XMLA Read-Write in the Capacity.

Burningsuit_0-1673006593791.png

Hope this helps

Stuart

1) Dataset is located on the premium capacity

2) I don't have access to those settings. I will reach out to admin to see if he can change it for me

 

Thanks!

@Burningsuit

 

The workspace has the "Read Write" enabled yet it still didn't work. Is it possible that this is because I don't have the admin right and only admin can run it?

 

Thanks

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.

Top Solution Authors