Forum Discussion

zebra's avatar
zebra
Helper II
2 years ago

create virtual table based on slicer value

Hey,

I am trying to create a virtual table that will contains the data from the parent table however this virtual table will contains the subset of  data from the parent table based on the slicer value. I am using the following formula however its returning an empty table. 

 

VirtualTable = FILTER(Sheet1, Sheet1[City] = SELECTEDVALUE(Sheet1[City]))
 
please see the screenshot below

 

any help will be highly appriciated. 

thanks

zeebee

1 Reply

  • Hello zebra ,

    Use CALCULATETABLE instead of just FILTERING directly. This will help you to create new table as per your filtering. 

     

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