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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Diana2022
Helper I
Helper I

How to determine what is evaluated in Boolean logic for Filter/Slicer- I'm missing a category

Hello,  I have a slicer for my business units.  The boolean logic is assigning "0" to GEN6 Weld so it does not appear in slicer.  I can't figure out why.   The data table is just a list of business units...and it is visible as a selection.  I've checked Selection pane and there are no hidden slicers or filters.  Any thoughts?   The business unit has data for the selected time period.  I cannot figure out what is prompting the "0" since its coming from a table in PowerQuery.boolean logic.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Diana2022 ,

Here is my personal take on your question, and I think you can take the following steps:

 

1. Ensure that the data type for the "Business Unit" column in PowerQuery is set correctly. Sometimes, mismatched data types can cause unexpected behavior.

 

2. Verify the logic used in your PowerQuery transformations. If there's a step that assigns a "0" to GEN6 Weld, it might be due to a condition or calculation that needs adjustment.

 

3. Ensure that the relationships in your data model are correctly set up. Incorrect relationships can sometimes lead to data not appearing as expected.

 

4. Ensure there are no duplicate entries or conflicting data for the "Business Unit" column that might be causing the issue.

 

 

Best Regards

Yilong Zhou

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
Diana2022
Helper I
Helper I

Thank you for your help... while data types were okay I did transform the column with "Trim" and "Clean".   This seemed to do the trick.   Your message prompted me to look harder at data and I am very appreciative.

Anonymous
Not applicable

Hi @Diana2022 ,

Here is my personal take on your question, and I think you can take the following steps:

 

1. Ensure that the data type for the "Business Unit" column in PowerQuery is set correctly. Sometimes, mismatched data types can cause unexpected behavior.

 

2. Verify the logic used in your PowerQuery transformations. If there's a step that assigns a "0" to GEN6 Weld, it might be due to a condition or calculation that needs adjustment.

 

3. Ensure that the relationships in your data model are correctly set up. Incorrect relationships can sometimes lead to data not appearing as expected.

 

4. Ensure there are no duplicate entries or conflicting data for the "Business Unit" column that might be causing the issue.

 

 

Best Regards

Yilong Zhou

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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