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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
murali_r
Helper I
Helper I

Get refresh history on direct query mode dataset using power BI client

I generated the report using direct query mode and embed it in UI. I want show refresh history / recent refreshed also in UI. If the report in import mode ,i can able to get refresh history but here
I am using direct query mode and I am getting "unsupported media type" error . please update ifany idea on this.

1 ACCEPTED SOLUTION
GilbertQ
Super User
Super User

Hi @murali_r

 

If you are using DirectQuery, the data is always as current as the underlying system.

 

What I would suggest doing is to look at a DateTime column in your dataset that has got the values for your data.

 

Then you could create a measure which will get the MAX DateTime, which you could then put into a measure

 

Last Date = "Data as at: " & MAX('Table1'[MyDateTimeColumn])




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

View solution in original post

3 REPLIES 3
nikit
Frequent Visitor

How did you manage to get dataset refresh history in Import mode?

Hi there,

There are details in this blog post here: https://powerbi.microsoft.com/en-us/blog/announcing-data-refresh-apis-in-the-power-bi-service/




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

GilbertQ
Super User
Super User

Hi @murali_r

 

If you are using DirectQuery, the data is always as current as the underlying system.

 

What I would suggest doing is to look at a DateTime column in your dataset that has got the values for your data.

 

Then you could create a measure which will get the MAX DateTime, which you could then put into a measure

 

Last Date = "Data as at: " & MAX('Table1'[MyDateTimeColumn])




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

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 MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.