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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.