Forum Discussion
Data Model in Service duplicating and replacing rows
- 8 years ago
Hi Ed. As I said over email, we've identified the root cause of this issue. We're currently targeting the fix for our July release.
In the meantime, you can work around the issue by ensuring that your folded queries are always sorted. This can be done by always including (and preserving in downstream queries) all primary keys for a given table. Or, if this isn't possible (as in your case when doing a Group By operation), you can explicitly sort by a set of unique keys before combining. (Also note that it may be necessary to buffer after sorting and before combining to ensure the sort is applied by the folding layer. You'll have to experiment to see whether or not this is necessary.)
Ehren
Thanks. A good confirmation I am not nuts. If you have any data, please open a ticket. It may help MS track this issue down.
ha ha yup but later i didn't face this issue. Sure I will check and if have will open a ticket. But thanks for this information because I was intially thinking it was my issue in model. But frankly i didn't change anything in the model and the issue fixed by itself.
- edhans8 years agoCommunity Champion
Yup. I've seen it fix itself, then come back, then fix, etc. Seems a bit random.
- Ehren8 years agoMicrosoft Employee
Hi all. Do you ever see duplicated rows after refreshing locally in PBIDesktop, or only when refreshing via the Gateway?
Ehren
- edhans8 years agoCommunity Champion
Only via the gateway. I have the June 2018 version 14.16.6724.2 installed, which is what https://www.microsoft.com/en-us/download/details.aspx?id=53127&751be11f-ede8-5a0c-058c-2ee190a24fa6=True is pushing. (it shows a different version there, but it sends the version I listed.)