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
Anonymous
Not applicable

Create new table filtered

Hi!

I am having troubles create a new filtered table, using column filters from other tables.

 

Example:

This is the original table, I should get a filtered table from this

Name  Product  Amount

Nick         A           1000

James      B              500

Jhon        C              200

 

And i have another table with the products i have exclude from the original table

Product

A

C

 

Result Table

Name Product Amount

James      B              500

 

 

This is an example, in the original table there are more than 100000 rows, and in the exclusion table more than 1000 products

 

Thank you!!

1 ACCEPTED SOLUTION
Singaravelu_R
Resolver III
Resolver III

Related two tables with Product,

and add the calculated column 

Product Result = if(ISBLANK( RELATED('Prodcut Master'[Product])),'Product'[Product])
and in the result apply visual level or page level filter to only values
 

View solution in original post

2 REPLIES 2
Singaravelu_R
Resolver III
Resolver III

Related two tables with Product,

and add the calculated column 

Product Result = if(ISBLANK( RELATED('Prodcut Master'[Product])),'Product'[Product])
and in the result apply visual level or page level filter to only values
 
amitchandak
Super User
Super User

@Anonymous , Try a measure like

 

new measure =
var _tab = except(allselected(Table[product1]), AllSelected(Table2[product]))
return
calculate(sum(Table[Amount]), filter(Table, Table[product1] in _tab))

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.