'(PowerBI) Counting instances in different columns

I am trying to create a calculated column that allows me to count the number of 'x' that are in adjacent columns. I am way off the answer on this.

Column = Calculate(CountAX('Datatable'[tab],ColumnA = 'x'), ('Datatable'[tab],ColumnB = 'x'), ('Datatable'[tab],ColumnC = 'x')

Any help would be appreciated.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source