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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

New Member

Visual Problem

I have a table like this, that has been unpivoted in power query. The 3 of the 4 custom columns to identify the main column work perfectly, but not a certain one despite having the same code.


AttributeValueIF containsstringexact FruitIf containsstringexact Veg
Fruit - Apple510
Veg - Carrot 301


So column "fruit" and "veg" are both used to identify the category of Attribute IF(CONTAINSSTRINGEXACT(TABLE[Attribute],"fruit"),1,0)

When i then make a visual with Veg as a filter, the table shows the same value for each Veg. Yet when I make the same visual using Fruit as a filter the visual properly calculate the sum/avg of each fruit.


Can someone please explain why it works for one custom column but not another?


Even if I combine all the if conditional identifies into a single column, the visual is adjust correctly for every field except for that veg field.




Super User
Super User

Please provide a more detailed explanation of what you are aiming to achieve. What have you tried and where are you stuck?

To give you better information, what are you looking for? I feel my problem is described perfectly. I made a column to use as a filter and it is not working, yet works for other similar columns. 

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).

Do not include sensitive information or anything not related to the issue or question.

If you are unsure how to upload data please refer to

Please show the expected outcome based on the sample data you provided.

Want faster answers?

Helpful resources


Fabric certifications survey

Certification feedback opportunity for the community.


Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors