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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
PowerKoen
Frequent Visitor

Filtering table on different colomns

Hi there,

I got the following situation:

RelationsRelationsTabel visualTabel visual

On the "Filtered Field", I want a colomn that checks the following:

Filter if a row
Delivery[Fault number]= NOT BLANK

AND
Delivery[Fault Code] is the same as Problem Codes[Code]
Then
return the Problem Codes[Sales Assigned to]
IF value (of Sales Assigned to)=5 AS 1

I tried different filters and IF statements, but can't get it to work.

How can this be done?

2 REPLIES 2
v-chuncz-msft
Community Support
Community Support

@PowerKoen ,

 

You may try using CONTAINSLOOKUPVALUE and RELATED.

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.

I tried the following:

IF(RELATED('Problem Codes'[Sales - Assigned to])=5 && 'Delivery'[Fault number]=BLANK();1;0)

It shows correctly in the table/data view :). 
But when i use it in a visual, its not showing the correct values only zero's (0).

 

What do i do wrong?

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

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.