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
paulalmond91
Helper II
Helper II

Blank Response on Calculated Column Filtering

Hi,

 

 

I have a calculated column that is outputting inconsistent results.

This is the column:

CALCULATE(MAX('Assigned Assessors'[Assessor ID]),FILTER('Assigned Assessors','Assigned Assessors'[Assessor Type]="A"),FILTER('Assigned Assessors',AND('Assigned Assessors'[Active Assessor]=true(),'Assigned Assessors'[Trainee ID]='Assigned Visits'[Trainee ID])))

95% of the time this produces a value correctly however on some accounts the link filter is resulting in a blank value

'Assigned Assessors'[Trainee ID]='Assigned Visits'[Trainee ID]

Below is an example of this inconsistency. The trainee ID on both tables match, the Active Assessor is set to True and Assessor Type is A but its not producing the expected Assessor ID against Julie Shawcroft.

Capture.PNG

I've tripled checked all my code and I can't see why no value would be produced. Can you give me any pointers?

 

3 REPLIES 3
v-chuncz-msft
Community Support
Community Support

@paulalmond91,

 

This might be caused by invisible characters. Check each filter in the CALCULATE Function.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Sam,

 

it appears to be the trainee id = trainee id filter that is making it blank. The problem is this needed because it creates the connection between the two tables.

Is there a way to exclude invisible characters?

@v-chuncz-msft

 

I performed a Transform > Text Column > Clean to make sure and still no improvement

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.