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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
TapZxK
Helper II
Helper II

DAX Help - Current Month * 12

Hi Guys, 

 

I'm trying to create the following formula (YTD Leavers / FY month we are in * 12) / YTD AVR Headcount

I have created the [YTD Leavers] & [YTD AVR Headcount] measures but am not sure how to create the

[FY month we are in * 12]

 

I have a dedicated calendar table with month names and month numbers, our FY starts in September so its month 1 

how can I have a measure that returns the month number based on the month that we are in multiplies that with 12 and returns value?

 

Thanks,

Kris 

1 ACCEPTED SOLUTION

Forgot the "* 12". 🙂

 

FY month we are in * 12 = 
CALCULATE ( MAX ( DimDate[Month Num] ), DimDate[Date] = TODAY () ) * 12




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

2 REPLIES 2
DataInsights
Super User
Super User

@TapZxK,

 

Try this measure. I'm assuming that [Month Num] is the fiscal month number.

 

FY month we are in * 12 = 
CALCULATE ( MAX ( DimDate[Month Num] ), DimDate[Date] = TODAY () )

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Forgot the "* 12". 🙂

 

FY month we are in * 12 = 
CALCULATE ( MAX ( DimDate[Month Num] ), DimDate[Date] = TODAY () ) * 12




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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