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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
xhulioberberi
Frequent Visitor

Store data from a selected value in a slicer and use those data to filter another table

Hello everyone,

Thank you again for your time here and it is very helpfull what you are doing here. I am working currently in one project with big data and want to improve some of our visualizations. I will get very easily and not complicated. What I want to do is to use the data that is filtered from a slicer and use those to filter another table. Maybe using DAX measures to store the data from this filtered table and then with those data I will filter another one. I don't want to do this manually because what I am working for is quite a lot data and it will take a lot of time to take manually and filter the other table. I am using this example just for explanation purpose only.

Thanks a lot!

 

Screenshot 2022-10-07 112123.png

1 ACCEPTED SOLUTION

I just give the name to understand. it means the column name on top of it you are going to check the value returned from AllSelected('Table'[Inv.Nr]) 

View solution in original post

8 REPLIES 8
Anonymous
Not applicable

Hi @xhulioberberi ,

Have you resolve the issue now? If so, please provide the answer and mark the reply to the solution to close the case. If not, please provide your pbix file without privacy information and desired output with more details. 

 

Best Regards

Community Support Team _ Polly

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Aburar_123
Solution Supplier
Solution Supplier

Hi @xhulioberberi ,

 

For example if you want to use that filtered list of 'Table'[Inv.Nr] values in any measure then you can get it by writing like Allselected('Table')

 

Can you write me an example please? And the measure I should put it to the other table?

Hi @xhulioberberi ,

 

May i know what do you mean by the word "the measure I should put it to the other table" exactly.

 

My understanding from this statement is that you need to hold that filtered list of Inv.Nr as a measure table to use it in a measure called Test then in that case you can write like below,

 

Test = 

var Filtered_list_of_InvNr = AllSelected('Table'[Inv.Nr]) 

return if(InvNr_from_another_table IN Filtered_list_of_InvNr, 1, 0)

So from the data that has been filtered Inv.Nr so 1114,1115,1116 and 1117. I want to freeze these data in one measure or something else and then this data I want to use to filter another table.

You can also use values('Table'[Inv.Nr]) instead of AllSelected('Table'[Inv.Nr]) 

Sorry because I am new at Power BI,

I don't understand this statement (InvNr_from_another_table what should this be?

I just give the name to understand. it means the column name on top of it you are going to check the value returned from AllSelected('Table'[Inv.Nr]) 

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.