Forum Discussion
Anonymous
2 years agoNot applicable
Get the average value per row with multiple columns
How to get the Average value with rows As you can see in the table below. I want get the average value for each row. I have tried so many things. AVERAGEX(Table, Table[City 1]+Table[City 2]+T...
- 2 years ago
Anonymous , do you have these cities as separate columns? I would unpivot them first, otherwise you'll have to define each value with SELECTEDVALUE, for example AVERAGEX(Table, SELECTEDVALUE ( Table[City 1] )+ ... ).
ERD
Community Champion
2 years agoAnonymous , do you have these cities as separate columns? I would unpivot them first, otherwise you'll have to define each value with SELECTEDVALUE, for example AVERAGEX(Table, SELECTEDVALUE ( Table[City 1] )+ ... ).
Anonymous
2 years agoNot applicable
I did use the unpivot and then i used Averagex and filter togheter and it worked perfect.
Whit this i understand how work with the tables.
So thanx!