This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hi Team,
I want to calculate how many months left till end of FY.
eg: current month is december , fiscal year staring from April so i need the value 3 because fy end on March 24.
please help me on the dax calculation to get the value
Solved! Go to Solution.
@sunil222
Create the following meaure:
Month Count =
VAR __Mon = MONTH(MAX( 'Dates'[Date] ) )
RETURN
IF( __Mon > 3 , 15 - __Mon , 3 - __Mon)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Thank you for sharing this type of question
@sunil222
Create the following meaure:
Month Count =
VAR __Mon = MONTH(MAX( 'Dates'[Date] ) )
RETURN
IF( __Mon > 3 , 15 - __Mon , 3 - __Mon)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
I need the answer as 3 , now december value is 3 , i can use this value in another dax calculation.
as per your logic iam getting
@sunil222
You need to create a measure with the code thatI shared with you
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.