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
ddelapasse
Helper I
Helper I

Using API to Update SemanticModel - but 'Refreshed' Timestamp doesn't update

Hi,

I'm working on a webapp that will host an embedded PBI.  The webapp's "schema" can be changed by the users and if that happens I am using the Fabric api to push an update to the Semantic Model.  This works FINE but it's really annoying that I cannot confirm the update by looking in PowerBI here.  Is there any other way that I could see the actual timestamp of the model?  I don't know what this Refreshed means in this context - we only use DirectQueries.  Appreciate any help you guys can offer!

ddelapasse_0-1737555894720.png

 

1 REPLY 1
Anonymous
Not applicable

Hi, @ddelapasse 
Thanks for reaching out to the Microsoft fabric community forum.

1.Firstly, I understand that you are currently using a semantic model with DirectQuery storage mode and updating the model via an API——

POST https://api.powerbi.com/v1.0/myorg/groups/{groupId}/datasets/{datasetId}/refreshes

However, typically, the refresh API does not support refreshing DirectQuery storage mode, which would result in an error as shown below.

vlinyulumsft_0-1737614117117.png

Only semantic models using Import storage mode can trigger a refresh successfully.

vlinyulumsft_1-1737614117118.png

Therefore, I am curious about which API you are using. Could you please specify which API you are referring to?

 

2.Secondly, based on your description, does "The webapp's 'schema'" refer to the layout of visual objects and filters in the report? In our definition, a schema does exist, as shown in the official documentation screenshot below:

vlinyulumsft_2-1737614128969.png

However, a normal schema refresh is not supported on the service unless you are using Push storage mode refresh, which contradicts your mention of DirectQuery storage mode. Here is a screenshot from the official documentation:

vlinyulumsft_3-1737614128970.png

3.Therefore, my initial assumption is that your refresh might only involve refreshing the visual objects in the report. Here is a screenshot from the official documentation:

vlinyulumsft_4-1737614143401.png

This also explains why the refresh timestamp is not updating, as the normal refresh history only records the times involving data refresh. Here is a relevant documentation screenshot:

vlinyulumsft_5-1737614143402.png

For further details, please refer to:
Data refresh in Power BI - Power BI | Microsoft Learn
 

Of course, this is just my assumption. If I have misunderstood your requirements, please clarify which API you are using for the update and what exactly you mean by "The webapp's 'schema'". I look forward to your response.

 

Best Regards,

Leroy Lu

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

 



Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

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

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.