Forum Discussion
Miro
3 years agoAdvocate I
Average pro date selected
Hello everyone,
I am new to Power BI and fail to figure out something that is supposedly easy.
I calculate Average pro tag = AVERAGEX(ALL('Date'[Date]), [Sales])
But then if I chose the date span, like in the snapshot, it shall be the average of 2 million somewhat, how do I get that number?
Thanks in advance for your help.
Hi there,
Adjust the measure toAVERAGEX(ALLSELECTED('Date'[Date]), [Sales])
It shall give you what you want.