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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
PratibhaY
Frequent Visitor

Power BI

Hi,

Is there a way to refresh all the Semantic models in a workspace using notebooks in Fabric?

Tx

2 ACCEPTED SOLUTIONS
pallavi_r
Super User
Super User

Hi @PratibhaY ,

 

Yes, it can be achieved in multiple ways.

- Using Fabric Pipeline to refresh semantic model

-Using PowerRestClient()

-Use sempy python library: Please check this link- https://github.com/m-kovalsky/Fabric

 

All these options are documented in the below blog.

https://fabric.guru/refreshing-individual-tables-and-partitions-with-semantic-link

 

Thanks,

Pallavi

View solution in original post

Anonymous
Not applicable

Hi @PratibhaY ,

Yes, you can refresh all the Semantic models in a workspace using notebooks in Microsoft Fabric. Here are a couple of methods you can use:

  1. Using Data Factory Pipelines:

You can create a pipeline in Data Factory and add a Semantic model refresh activity. This activity allows you to refresh Power BI datasets by creating connections to your Power BI semantic model datasets and refreshing them from a data pipeline

For several ways of notebooks refer to the following links:

How to use notebooks - Microsoft Fabric | Microsoft Learn

Below is the official link will help you:

Semantic model refresh activity in Data Factory for Microsoft Fabric (Preview) - Microsoft Fabric | ...

Best Regards,

Xianda Tang

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

View solution in original post

3 REPLIES 3
PratibhaY
Frequent Visitor

Thank you!

 

Anonymous
Not applicable

Hi @PratibhaY ,

Yes, you can refresh all the Semantic models in a workspace using notebooks in Microsoft Fabric. Here are a couple of methods you can use:

  1. Using Data Factory Pipelines:

You can create a pipeline in Data Factory and add a Semantic model refresh activity. This activity allows you to refresh Power BI datasets by creating connections to your Power BI semantic model datasets and refreshing them from a data pipeline

For several ways of notebooks refer to the following links:

How to use notebooks - Microsoft Fabric | Microsoft Learn

Below is the official link will help you:

Semantic model refresh activity in Data Factory for Microsoft Fabric (Preview) - Microsoft Fabric | ...

Best Regards,

Xianda Tang

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

pallavi_r
Super User
Super User

Hi @PratibhaY ,

 

Yes, it can be achieved in multiple ways.

- Using Fabric Pipeline to refresh semantic model

-Using PowerRestClient()

-Use sempy python library: Please check this link- https://github.com/m-kovalsky/Fabric

 

All these options are documented in the below blog.

https://fabric.guru/refreshing-individual-tables-and-partitions-with-semantic-link

 

Thanks,

Pallavi

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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