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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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