cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
gregoliveira
Regular Visitor

Present data only after filter

Hey!

 

I need that the tables 2 and 3 just present data after I selected one row at the table 1. They are three diferent tables at model. Table 1 is a fact table and the relation with table 2 and 3 are 1-to-many.

 

Power BI.png

 

I tried to:

 

- create a measure to find when table 1 is filtered to apply that measure at tables 2 and 3; and,

- create a virtual table.

 

However, these two solutions did no work as well.

 

Can you help me?

1 ACCEPTED SOLUTION
v-cgao-msft
Community Support
Community Support

Hi @gregoliveira ,

Please try like:

Measure = IF(ISFILTERED('FactTable'[Column1]),1)

and then use it as table2, table3's filter.

vcgaomsft_0-1669772946137.png

result:

vcgaomsft_1-1669773066071.png

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly -- How to provide sample data

View solution in original post

2 REPLIES 2
v-cgao-msft
Community Support
Community Support

Hi @gregoliveira ,

Please try like:

Measure = IF(ISFILTERED('FactTable'[Column1]),1)

and then use it as table2, table3's filter.

vcgaomsft_0-1669772946137.png

result:

vcgaomsft_1-1669773066071.png

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly -- How to provide sample data

Perfect! Thanks a lot! I tried something like this, but as a newbie I forgot something to finish well! 🙂

 

Thanks again!

Helpful resources

Announcements
Vote for T-Shirt Design

Power BI T-Shirt Design Challenge 2023

Vote for your favorite t-shirt design now through March 28.

March 2023 Update3

Power BI March 2023 Update

Find out more about the March 2023 update.

March Events 2023A

March 2023 Events

Find out more about the online and in person events happening in March!