Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
11 | |
11 | |
10 | |
9 | |
8 |
User | Count |
---|---|
17 | |
12 | |
11 | |
11 | |
11 |