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
hpoyil
Frequent Visitor

data sources currently don't support error for data from Jira Rest API

I am trying to configure schedule refresh for the dataset from Jira data. But it's throwing error like 

 

You can't schedule refresh for this dataset because the following data sources currently don't support refresh:

 

my Query is like:

 

let
Source = Json.Document(Web.Contents(JIRA_URL & "/rest/api/2/search?jql=" & QUERY))
....
....
in
...

 

where: 

 

JIRA_URL: https://jira.demo.io/
QUERY: project in ("ProjectOne", "ProjectTwo")

 

 I referred https://blog.crossjoin.co.uk/2016/08/23/web-contents-m-functions-and-dataset-refresh-errors-in-power... and tried to restructure the query as mentioned there. But was not successfull. 

I have followed other related threads but couldn't find a proper solution. 

can anyone hlep me?

1 ACCEPTED SOLUTION
v-yingjl
Community Support
Community Support

Hi @hpoyil ,

When you use source parameter to get data dynamically in Power BI Desktop, it is not supported to refresh the dataset in Power BI Service, you would need to make changes to the M code as described in this similar blog: 

Dynamic Web.Contents() and Power BI Refresh Errors 

 

Best Regards,
Yingjie Li

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
v-yingjl
Community Support
Community Support

Hi @hpoyil ,

When you use source parameter to get data dynamically in Power BI Desktop, it is not supported to refresh the dataset in Power BI Service, you would need to make changes to the M code as described in this similar blog: 

Dynamic Web.Contents() and Power BI Refresh Errors 

 

Best Regards,
Yingjie Li

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

I'm having thsi problem as well and all the solutions I've seen refer to a blog post that is no longer available.  I've tried removing the parameters and adding them directly to my query but no luck.  It works great from Power BI Desktop, and I ca nrefresh manually but no auto-refresh support which is why I wanted to query the API directly in the first place.  Can someone please help with this?

Greg_Deckler
Super User
Super User

@ImkeF - Any ideas?


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

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