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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.