Forum Discussion
All Queries tracing in DAX Studio returns error after run
Hi, I need to monitor perfomance in my PBI report. I open PBI Desktop, create new blank page, then run DAX Studio from ribon. Next I run All Queries, go back to PBI and go to final report page. All Queries trace starts but after a while an error apperas in logs:
This CollectionView type does not support changes to its own SourceCollection from a thread other than Dispatcher
I closed and open PBI again do clear the ceach and repeted the process. Same again. Have you ever encountered such an issue and how to sove it?
- Anonymous1 year ago
Hi Camill88 ,
Here's a case with a similar problem to yours, you can update dax stadio to the latest version:
Encountering this error message is generally a sign that the thread is in an unsafe environment, which can lead to threading issues, since UI-bound collections can only be updated from the UI thread.
Take a look at the BindingOperations.EnableCollectionSynchronization and read this topic: Using BindingOperations.EnableCollectionSynchronization.
Enables a CollectionView object to participate in synchronized access to a collection that is used on multiple threads.
This is the related document, you can view this content:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
2 Replies
- AnonymousNot applicable
Hi Camill88 ,
Here's a case with a similar problem to yours, you can update dax stadio to the latest version:
Encountering this error message is generally a sign that the thread is in an unsafe environment, which can lead to threading issues, since UI-bound collections can only be updated from the UI thread.
Take a look at the BindingOperations.EnableCollectionSynchronization and read this topic: Using BindingOperations.EnableCollectionSynchronization.
Enables a CollectionView object to participate in synchronized access to a collection that is used on multiple threads.
This is the related document, you can view this content:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Camill88Frequent Visitor
Great, thank you!