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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
AO1
Frequent Visitor

Create data table using slicer selection

Hi,

 

I will really appreciate help with this problem.

I want to create a new data table, Table 2, based on slicer selection of an existing table, Table 1.  

Table 1 contains a variable called "Type", which contains the following values (A, B, C, D).

I want the newly created data table, Table 2, to have a variable also called "Type", which will contain just 2 values. One of the values is "Y", the other value is the value selected by the slicer.

This means one of the values in Table 2 will be constant, which is "Y", the other value will be dynamic depending on slicer selection of Table 1 values.

1 ACCEPTED SOLUTION
Fowmy
Super User
Super User

 When you create a calculated table in a table, any selection that you make on your report canvas is not known to the formula in the calculated table because what's happens is the order in which the stages take place. First the model is completed then the tables are ready for report building. Try to build a measure instead which can make use of the slicer selection. I hope this is clear. 

 

@AO1

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

View solution in original post

2 REPLIES 2
FreemanZ
Community Champion
Community Champion

hi @AO1 ,

 

that can't be all the story. what do you plan to do with table2?

 

BTW, calculated table/column is not supposed to respond any visual actions, like slicer selections.

Fowmy
Super User
Super User

 When you create a calculated table in a table, any selection that you make on your report canvas is not known to the formula in the calculated table because what's happens is the order in which the stages take place. First the model is completed then the tables are ready for report building. Try to build a measure instead which can make use of the slicer selection. I hope this is clear. 

 

@AO1

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Helpful resources

Announcements
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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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