Forum Discussion
Sofinobi
3 years agoHelper IV
average quantity
hi community, i have a table that saves the operations about our products (sales and purchases), there is a column "Quantity Now" that calculate the quantity in stock (after sale or purchase). i ne...
- 3 years ago
Sofinobi , Assume you are using measure m1 as of now
if(isblank([M1]),
CALCULATE(AverageX(Values('Date'[Month Year]), [M1]),filter(all('Date'),'Date'[date] <=max('Date'[date]))), [M1])
amitchandak
3 years agoSuper User
Sofinobi , Assume you are using measure m1 as of now
if(isblank([M1]),
CALCULATE(AverageX(Values('Date'[Month Year]), [M1]),filter(all('Date'),'Date'[date] <=max('Date'[date]))), [M1])
Sofinobi
3 years agoHelper IV
thank you for your help, thats exactely what i want.
thanx