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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

Top Solution Authors