cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
jnickell Regular Visitor
Regular Visitor

M Query & Common Data Service - data loss?

I think this is relatively simple and I have posted in powerusers forum looking for answers, but was hoping someone here might have run into this as well.  

 

End goal is setting up a Data Flow on the PowerBI service.  I'm using Power BI Desktop to massage my M transformation, but error crops up both in my Desktop > Common Data Service, and in Desktop > Power BI Data Flow.

 

I'm attempting to query the Dynamics 365 Opportunity entity using the Common Data Service.  I can connect and browse without any issue, however my problem comes whenever I attempt to "add" data using M.  I've tested with "Duplicating an existing column" and "adding a condition column", in either situation, a cell/column that contains data prior to this step will loose that data after these additive transformations.  

For example the "opportunityRatingCode_Display" field has "High" in it prior to the "Duplicate" step

After the "Duplicate" step, the field has "Null"

----

An interesting note as I was trying to type this up, it seems like keeping the companion field "opportunityRatingCode" until after the duplication transformation prevents the loss of the the value from the "_Display" field.

 

Has anyone else seen this? and is it correct to assume that this is due to the fact that the CDS version of the opportunity is providing some behind the scenes magic on what I believe are "lookup fields" if you were to access Dynamics CRM directly?

 

Link to PowerUsers forum post

 

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
jnickell Regular Visitor
Regular Visitor

Re: M Query & Common Data Service - data loss?

I've created a support ticket.  I'll post back what I hear.

View solution in original post

3 REPLIES 3
Community Support Team
Community Support Team

Re: M Query & Common Data Service - data loss?

@jnickell 

 

To get faster and better technical support for this issue, you may directly create a support ticket.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
jnickell Regular Visitor
Regular Visitor

Re: M Query & Common Data Service - data loss?

I've created a support ticket.  I'll post back what I hear.

View solution in original post

jnickell Regular Visitor
Regular Visitor

Re: M Query & Common Data Service - data loss?

Unfortunately, I was unable to reproduce the issue while on the phone with support.  I have screenshots, of the issue occuring (in the Powerusers forum), but I couldn't get it to do it again.  

Helpful resources

Announcements
Exclusive LIVE Community Event #3 – Ask Arun Anything

Exclusive LIVE Community Event #3 – Ask Arun Anything

Join us in the third Triple A event!

Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

Super User Challenge: Can You Solve These?

Super User Challenge: Can You Solve These?

We're celebrating the start of the New Super User season with our first ever Super User 'Can You Solve These?' challenge.

Power BI Desktop Update - February 2020

Power BI Desktop Update - February 2020

We are super excited for our update this month, as we are releasing two of our top community requests!

Power Platform Online Conference

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

Top Solution Authors