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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. 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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.