Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Reply
mhgottsc
Helper I
Helper I

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!

 

mhgottsc_0-1643823235091.pngmhgottsc_1-1643823261642.png

 

1 ACCEPTED SOLUTION
v-yangliu-msft
Community Support
Community Support

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:

vyangliumsft_0-1644289435521.png

 

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

View solution in original post

3 REPLIES 3
v-yangliu-msft
Community Support
Community Support

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:

vyangliumsft_0-1644289435521.png

 

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

mh2587
Super User
Super User

=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!




LinkedIn Icon
Muhammad Hasnain



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?

Helpful resources

Announcements
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

Check out the October 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

Find out what's new and trending in the Fabric Community.