Forum Discussion
Calculating Averages with conditions
- 8 years ago
Maby Its depends of your Culture, try to use [ , ] instead of [ ; ] and try to count your
- 8 years ago
Try this
AveragePrice := AVERAGEX (FILTER(YourTableName, YourTableName[Volume] > 0), YourTableName[Price])
or thisAveragePrice := CALCULATE ( AVERAGE (YourTableName[Price] ), YourTableName[Volume] > 0 )
Hello, puj831
Try this
AveragePrice := AVERAGEX (FILTER(YourTableName; YourTableName[Volume] > 0); YourTableName[Price])
or this
AveragePrice := CALCULATE ( AVERAGE (YourTableName[Price] ); YourTableName[Volume] > 0 )
- puj8318 years agoFrequent Visitor
This is error I keep getting back. Any solutions? Thank you so much!
- Claster8 years ago
Advocate II
Maby Its depends of your Culture, try to use [ , ] instead of [ ; ] and try to count your
- popov8 years ago
Resolver III
Try this
AveragePrice := AVERAGEX (FILTER(YourTableName, YourTableName[Volume] > 0), YourTableName[Price])
or thisAveragePrice := CALCULATE ( AVERAGE (YourTableName[Price] ), YourTableName[Volume] > 0 )