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

Filter by a thrird column

Hello!

 

I've this scenario:

Captura.JPG

 

Where i would like to filter my visualizations by an slicer that have the data from other table.

 

 

Cat = DISTINCT(Quantity[Category])

This generate another table:

 

Tabla.JPG

 

But When I tried to filter I can not get the visualizations filter (Correctly):

 

1.JPG

 

Is possible to get the relation active despite the fact I've to keept the date table. Is there another option? (I've to avoid creating another table that work as a fact. Therefore I discard this idea from the beginning)

 

You can Download the PBI project Here: https://files.fm/u/vc5sre8g

 

Thanks

 

 

1 ACCEPTED SOLUTION
Zubair_Muhammad
Community Champion
Community Champion

@Anonymous

 

Try this measure

 

Measure =
CALCULATE (
    SUM ( Units[Units] ),
    USERELATIONSHIP ( Cat[Category], Units[Category] )
)

Regards
Zubair

Please try my custom visuals

View solution in original post

3 REPLIES 3
Zubair_Muhammad
Community Champion
Community Champion

@Anonymous

 

Try this measure

 

Measure =
CALCULATE (
    SUM ( Units[Units] ),
    USERELATIONSHIP ( Cat[Category], Units[Category] )
)

Regards
Zubair

Please try my custom visuals
Anonymous
Not applicable

Thanks! @Zubair_Muhammad

 

But with this measure. How can I slice The two tables?

 

4.JPG

I Want to filter this two visualizations by an slicer (But I wolud like to conserve the two tables independently.

 

The report with the meassure: https://files.fm/u/tqfx6c5x

 

Thanks!

@Anonymous

 

If you use MEASURE in place of the Units in the first table, it will slice

 

slice.png


Regards
Zubair

Please try my custom visuals

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.