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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.