Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now
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!
Solved! Go to Solution.
Hi @mhgottsc ,
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] * 45
2. 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
Hi @mhgottsc ,
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] * 45
2. 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
=COUNT([Days of Month])*45
Did I answer your question? If so, please mark my post as a solution!
Proud to be a Super User!
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?
Check out the October 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
112 | |
112 | |
105 | |
94 | |
58 |
User | Count |
---|---|
174 | |
147 | |
136 | |
102 | |
82 |