Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hello everyone, needing help with metric and/or calculated column to calculate the average of the last 6 months for each client each month.
Theres a sample pbix file for reference.
https://drive.google.com/open?id=0B8Aq8DhGApJqYkpxVzdITzlMRkE
Solved! Go to Solution.
Try adding this to your model and let me know how you get on.
Average of last 6 months = AVERAGEX( DATESINPERIOD( 'SAMPLE'[REFER], LASTDATE('SAMPLE'[REFER]), -6, MONTH) , [REVENUE TOT] )
Try adding this to your model and let me know how you get on.
Average of last 6 months = AVERAGEX( DATESINPERIOD( 'SAMPLE'[REFER], LASTDATE('SAMPLE'[REFER]), -6, MONTH) , [REVENUE TOT] )
User | Count |
---|---|
87 | |
72 | |
69 | |
64 | |
56 |
User | Count |
---|---|
99 | |
92 | |
84 | |
74 | |
66 |