Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register 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 @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] * 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 @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] * 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?