Forum Discussion
Jerry1985
4 years agoFrequent Visitor
Average Ops Days.
I am trying to create a measure for the following: It takes total Sales / Ops days = Average daily Sales My current measure for Ops days is as follows: Ops Days = CALCULATE(SUM('PowerBI Dat...
- 4 years ago
Hi,
Please try writing a measure like below, and replace the current one with the below.
fixed measure: = IF ( HASONEVALUE ( 'Country table'[Country column] ), [Your Ops Days measure], AVERAGEX ( VALUES ( 'Country table'[Country column] ), [Your Ops Days measure] ) )
Jihwan_Kim
Super User
4 years agoHi,
Please try writing a measure like below, and replace the current one with the below.
fixed measure: =
IF (
HASONEVALUE ( 'Country table'[Country column] ),
[Your Ops Days measure],
AVERAGEX ( VALUES ( 'Country table'[Country column] ), [Your Ops Days measure] )
)