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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
theferret
Frequent Visitor

Scheduled refresh with Dynamics CRM as datasource not working

Hi

 

Just published out a new report that only has Dynamics CRM as its source. Refreshes manually fine, but when I tried to set up a scheudled refresh says "you cant schedule refresh for this dataset as it doesn't suport refresh".   Any ideas why this is an issue as seems very odd? Is this some setting in CRM?   Any help appreciated

 

My source is

 

Source = Cds.Entities("https://xxxx.api.crm11.dynamics.com", [ReorderColumns=true, UseFormattedValue=true]),
    entities = Source{[Group="entities"]}[Data],

 

1 ACCEPTED SOLUTION
Greg_Deckler
Super User
Super User

@theferret What connector are you using? I believe you should be using the Dataverse connector and your source line should be something like:

Source = CommonDataService.Database("xxx.crm.dynamics.com"),


@ 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...

View solution in original post

3 REPLIES 3
Greg_Deckler
Super User
Super User

@theferret What connector are you using? I believe you should be using the Dataverse connector and your source line should be something like:

Source = CommonDataService.Database("xxx.crm.dynamics.com"),


@ 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...

I think this was using CDS conenctor that i copeid form an old model.  I tried going to Dynamics 365 (Dataverse). it asks me to sign in then says unable to connect delte crednetials. I cleared the permissions in Power Query, but is this different credentials?

 

Thanks

Changing all the queries to using Dataverse insteadof CDS solved it thanks

Helpful resources

Announcements
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