cancel
Showing results for 
Search instead for 
Did you mean: 
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
Exciting changes

Power BI Community Changes

Check out the changes to the Power BI Community announced at Build.

May 2023 update

Power BI May 2023 Update

Find out more about the May 2023 update.

Kudo Data Story carousel

Data Stories Gallery

Visit our Data Stories Gallery and give kudos to your favorite Data Stories.

Top Solution Authors