My problem is to have a average per month in a table, example:
It has to look like:
Anyone that could help me with a dax formula?
I've tried Averagex, but I wouldn't work.
Please Help :-)
You may create a measure like below:
Measure = AVERAGEX ( FILTER ( ALL ( Table1 ), MONTH ( Table1[Created Date] ) = MONTH ( MAX ( Table1[Created Date] ) ) ), Table1[Cost] )
Could you show me the data or share your .pbix file?Below is my sample data.You can upload it to OneDrive and post the link here. Do mask sensitive data before uploading.
It got it to work now - it was a data error.
But I now have a new issue - I have to see it per item.
So in this I need 973202 item to calculate measure like above mentioned (for March it has to be 8,00 not 5,36)
When I click on the overview table at 973202, it still counts all the lines with in the measure, it has to be per item, hope you understand? How do i do?
Hope you can help me :-)
It seems the cost is a measure.Could you provide the formula of the cost measure?It would be better if you could paste the data here instead of the screenshot.
Try below measure:
Measure 3 = AVERAGEX ( FILTER ( ALLSELECTED ( Ark1 ), MONTH ( Ark1[Created Date] ) = MONTH ( MAX ( Ark1[Created Date] ) ) ), [Cost] )
Could you tell me if your problem has been solved? If it is,kindly mark the helpful answer as a solution and welcome to share your own solution. More people will benefit from here. If not, please share more details for us so that we could help further on it.