Forum Discussion
Rolling 12 months data
Hi amitchandak ,
I am using this measure for getting 12 months back data on my line chart but facing some issues in it.
But, in this measure where i have used SCORE1 , basically my SCORE1 is a measure and I was unable to use it there as a measure so, i have to convert it into a column SCORE1 , but still it is not giving me the desired result.
Can you please help me ?
Thanks !
- Anonymous6 years ago
Anonymous
I see your requirement now, to explain the dax to get last 12 month, please see this example pbix. And change the return expression to Count().
Paul Zheng _ Community Support Team
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
10 Replies
- parry2kSuper User
Anonymous check this post, you can tweak as per your business needs.
https://www.sqlbi.com/articles/rolling-12-months-average-in-dax/
I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!
- AnonymousNot applicable
Anonymous
How did you change [Score1] to a column? Can you provide the dax. Usually the dax for measure and column is different.Please elaborate more with a sample pbix.
Paul Zheng _ Community Support Team
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- PradeepThFrequent Visitor
Hi,
I am also facing the same issue. So, please share the link of above example: "example.pbix" again.
Regards,
Pradeep