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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Create table that take value selected

Hello, 

 

I would like to create a table (not a visual but a real table) that take values that are selected in each segment in my power bi. I would like to have something that is interactive depending on values I select in my segments. For example, I have a Segment "A" with "1", "2", "3" as different values in this segment. I select the value "2" in this segment and I would like to see in the table I create a colomn called "A" with the value "2" under (if I changed my selection it has to change also in the table"). The values are in text format in reality just for information.

 

Thank you very much in advance for your help, 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Thanks for the reply from @bhanu_gautam , please allow me to provide another insight:

Hi, @Anonymous 

Thanks for letting us know your user experience.  According to your case description, I do understand how frustrated you are now.
 

Based on our current understanding of your needs, as you have measured, it is not possible to create a new computed table based on the values of the original table slicer. There are two main reasons for this:

 

1.Unable to capture values for dynamic slicers: In a calculated table, you can't directly capture the values of another dynamic slicer.

 

2.Recursion and cyclic dependency risks: Even if it can be implemented, this approach can easily lead to recursion, which can lead to the problem of circular dependency.
 

So, my alternative is:
 

First, copy the query to the data source directly in PowerQuery, and then modify the table according to your needs:
 

vlinyulumsft_0-1722500512291.png

 

Using the Queries pane - Power Query | Microsoft Learn

Then, the table relationship is established in the desktop, so that the interaction between the two tables is realized:

vlinyulumsft_1-1722500512292.png

Create and manage relationships in Power BI Desktop - Power BI | Microsoft Learn

Of course, if you have any new ideas, you are welcome to contact us.
 

Best Regards,

Leroy Lu

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

View solution in original post

3 REPLIES 3
bhanu_gautam
Super User
Super User

@Anonymous , You can try below mentioned steps

 

Create a Slicer:

Add a slicer to your Power BI report.
Drag the field you want to use for filtering (e.g., "A") into the slicer.
Create a Calculated Table:

Go to the "Modeling" tab and select "New Table."
Use the following DAX formula to create a calculated table that reflects the selected values in the slicer:
SelectedValuesTable =
VAR SelectedValues = VALUES(TableName[A])
RETURN
SELECTCOLUMNS(
SelectedValues,
"A", [A]
)
Replace TableName with the actual name of your table and A with the actual name of your column.
Add the Calculated Table to a Table Visual:

Add a table visual to your report.
Drag the field "A" from the SelectedValuesTable into the table visual.
Test the Interactivity:

Select different values in the slicer and observe how the table visual updates to reflect the selected values.




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






Anonymous
Not applicable

Hello, 

 

Thank you for your proposition but this doesn't work because to have the interactivity you need to create a visual table in the power bi. I would like to have the interactivity directly in the "Table display" on the left of the screen. 

Anonymous
Not applicable

Thanks for the reply from @bhanu_gautam , please allow me to provide another insight:

Hi, @Anonymous 

Thanks for letting us know your user experience.  According to your case description, I do understand how frustrated you are now.
 

Based on our current understanding of your needs, as you have measured, it is not possible to create a new computed table based on the values of the original table slicer. There are two main reasons for this:

 

1.Unable to capture values for dynamic slicers: In a calculated table, you can't directly capture the values of another dynamic slicer.

 

2.Recursion and cyclic dependency risks: Even if it can be implemented, this approach can easily lead to recursion, which can lead to the problem of circular dependency.
 

So, my alternative is:
 

First, copy the query to the data source directly in PowerQuery, and then modify the table according to your needs:
 

vlinyulumsft_0-1722500512291.png

 

Using the Queries pane - Power Query | Microsoft Learn

Then, the table relationship is established in the desktop, so that the interaction between the two tables is realized:

vlinyulumsft_1-1722500512292.png

Create and manage relationships in Power BI Desktop - Power BI | Microsoft Learn

Of course, if you have any new ideas, you are welcome to contact us.
 

Best Regards,

Leroy Lu

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

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.