Forum Discussion
Making CALCULATETABLE filter by selected column
Hi,
I am not sure how your datamodel looks like, but in my opinion, slicer selection from the visualization is not influencing the result when creating physical calculated table. If you want to make it happen, one of ways is to insert the condition directly into the formula to create physical calculated table.
I hope this helps.
Thanks.
- powerx7863 years ago
Microsoft Employee
There is nothing in the data model except two separate tables. There are no further relationships. The slicer in the report is directly referencing the column in the table.
- Jihwan_Kim3 years ago
Super User
Please try something like below to create a calculated table whether it suits your requirement.
Table4 = UNION ( CALCULATETABLE ( Table1, Table1[Type] = "A" ), CALCULATETABLE ( Table2, Table2[Type] = "A" ) )- powerx7863 years ago
Microsoft Employee
I do not want to give an explicit value (Table1[Type] = "A") for the filter condition as I want to filter by the value selected in the filter visual