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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
danielru
Frequent Visitor

how to filter a table visual

Hi, 

 

I have 3 tables- customers, products and sales.

 

My table visual has the following columns from:

 

customer- customer name, customer id;

 

products- product id, product name, product price;

 

sales- product id, quantity, sales rep name.

 

Now, I want to filter the visual such that all rows where 'customer name' is not equal to 'sales rep name'. Remember that these column in the table visual come from the customer and sales source tables respectively. How would you filter the table visual for this requirement? 

 

I have other filters on this table visual and tried to apply a new measure which exploded my table from 3 rows to an error message that I exceeded the limits.

 

I would be grateful for any advice. Thank you so much!

 

Regards,

 

Daniel

1 ACCEPTED SOLUTION
bhanu_gautam
Super User
Super User

@danielru 

 

You can create a calculated column in the sales table:

 

IsCustomerNotSalesRep =
IF (
RELATED(Customers[customer name]) <> Sales[sales rep name],
1,
0
)

 

Once you have the calculated column, you can apply a filter to your table visual to only include rows where this column is 1.




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






View solution in original post

2 REPLIES 2
danielru
Frequent Visitor

You are a legend!!!! Thank you so much.

bhanu_gautam
Super User
Super User

@danielru 

 

You can create a calculated column in the sales table:

 

IsCustomerNotSalesRep =
IF (
RELATED(Customers[customer name]) <> Sales[sales rep name],
1,
0
)

 

Once you have the calculated column, you can apply a filter to your table visual to only include rows where this column is 1.




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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.

Top Solution Authors
Top Kudoed Authors