Forum Discussion
Help with time intelligence measure
Here is what I am trying to do:
I am trying to create a guage where the target is: "(the amount of days per month) * (45)" with 45 being the target amount of points a sales rep want to hit per day.
So say the month is March which has 31 days. The target is always 45 points per day and the month goal being 45*31=1,395
I want the target to be a function of "(the count of the total days per month) * (45)"
Thanks!
- Anonymous4 years ago
Hi Anonymous ,
Here are the steps you can follow:
1. Create calculated column.
Day = COUNTX(FILTER(ALL('Table'),YEAR('Table'[Date])=YEAR(EARLIER('Table'[Date]))&&MONTH('Table'[Date])=MONTH(EARLIER('Table'[Date]))),[Date])target = 'Table'[Day] * 452. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
3 Replies
- mh2587Super User
=COUNT([Days of Month])*45
- AnonymousNot applicable
I do not have days of month in my calander table as shown above, what dax formula would i need to make that a new column?
- AnonymousNot applicable
Hi Anonymous ,
Here are the steps you can follow:
1. Create calculated column.
Day = COUNTX(FILTER(ALL('Table'),YEAR('Table'[Date])=YEAR(EARLIER('Table'[Date]))&&MONTH('Table'[Date])=MONTH(EARLIER('Table'[Date]))),[Date])target = 'Table'[Day] * 452. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly