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
TayTay
Frequent Visitor

Matrix Errors When Collapsing Column

I've got a simple table that I'm displaying in a Matrix, if I expand then collapse a column the matrix errors and is not displayed.

Can anyone tell me what is causing this to happen?

 

The table query has two custom M columns, one is quantity and the other unit.

Blank and errored quantity is removed. There are no other transformations and no DAX columns or measures.


Item Number, Unit, Type and Warehouse are all formatted as text, Quantity is a decimal number and Physical Month is a date.

The Matrix visual is collapsed on Type to show overall quantity.

TayTay_0-1723773974498.png

 

When expanding to warehouses, some rows cause the visual to scroll up and away from the expanded row. When this happens the visual will error if the row is collapsed again. Giving error "DAX comparison operations do not support comparing values of type Text with values of type True/Fales. Consider using the VALUE or FORMAT function to convert one of the values."

TayTay_1-1723774025096.png

 

Applying then clearing any filter fixes the issue and the visual will load.

 

Here is a video showing the behaviour.

2 REPLIES 2
amitchandak
Super User
Super User

@TayTay , Strange. Log an issue too https://community.powerbi.com/t5/Issues/idb-p/Issues

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thanks, I've now posted it there as well.

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!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.