Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hi,
I'm curios to understand how are we calculate or get a value for Average number of month ?
Lets say 200 Orders, the receive days vary between days and months, but I want to get Average number of month of my receving. Also because days in months is vary, right.
Need some advice.
Thanks
Solved! Go to Solution.
Sum at day level Avg above
calculate(AverageX(Values('Date'[Date]), [Count of order measure] ) )
monthly using TI
calculate(AverageX(Values('Date'[Date]), [Count of order measure]) , datesmtd('Date'[Date]) )
Sum at Month level Avg above
calculate(AverageX(Values('Date'[Month year ]), [Count of order measure] ) )
Have you tried the dax expression mentioned by amitchandak? Does it work? Also, you can customize the average expression, just use function datediff() to calculate the total days of the period. Then use divide() function to calculate average.
DATEDIFF function (DAX) - DAX | Microsoft Docs
DIVIDE function (DAX) - DAX | Microsoft Docs
Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
Sum at day level Avg above
calculate(AverageX(Values('Date'[Date]), [Count of order measure] ) )
monthly using TI
calculate(AverageX(Values('Date'[Date]), [Count of order measure]) , datesmtd('Date'[Date]) )
Sum at Month level Avg above
calculate(AverageX(Values('Date'[Month year ]), [Count of order measure] ) )
 
					
				
				
			
		
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
 
            | User | Count | 
|---|---|
| 80 | |
| 49 | |
| 35 | |
| 31 | |
| 30 |