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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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