In the button properties, you could create an action that will toggle variable (I will call this variable vToggle):
Actions -> Add-> Action Type: External –> Set Variable
Then you enter the variable name (the variable should be created in Variable Overview in Settings menu also), and as expression something like
= if(vToggle = 0,1,0)
In the properties of the straight table object in presentation tab, enter this variable as conditional to show the selected column
=vToggle
Hope this helps,





![[PowerBI] – Comment afficher un dégradé de couleur en fonction d’une mesure ? Couleur des données](https://i1.wp.com/mybicoach.bwabwanet.fr/wp-content/uploads/2020/03/Powerbi-couleur-des-données.png?resize=218%2C150)


![[PowerBI][DAX] – Comment compter le nombre de ligne d’une table ?](https://i2.wp.com/mybicoach.bwabwanet.fr/wp-content/uploads/2020/01/powerbi-dax-countrows-logo-1.png?resize=100%2C70)