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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Camill88
Frequent Visitor

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?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

 

Hi  @Camill88 ,

Here's a case with a similar problem to yours, you can update dax stadio to the latest version:

Starting All Queries gives error : This type of CollectionView does not support changes to its Sourc...

DAX Studio | DAX Studio

 

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:

c# - This type of CollectionView does not support changes to its SourceCollection from a thread diff...

c# - This type of CollectionView does not support changes to its SourceCollection from a thread... w...

c# - CollectionView does not support changes to its source collection from a thread different from t...

 

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.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

 

Hi  @Camill88 ,

Here's a case with a similar problem to yours, you can update dax stadio to the latest version:

Starting All Queries gives error : This type of CollectionView does not support changes to its Sourc...

DAX Studio | DAX Studio

 

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:

c# - This type of CollectionView does not support changes to its SourceCollection from a thread diff...

c# - This type of CollectionView does not support changes to its SourceCollection from a thread... w...

c# - CollectionView does not support changes to its source collection from a thread different from t...

 

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.

Great, thank you!

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.