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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

How to create a measure for Current FY -Current Month data in power BI

Hi,

i have current FY actual data (Achvievement) and currently we are there in Sep month 7th date, i need write a measure for Current FY  Achvievement - Current month(Sep), So here data should come til August, Can some one support here

Sudhakar1000_0-1725722519348.png

 

1 ACCEPTED SOLUTION
rajendraongole1
Super User
Super User

Hi @Anonymous -create a measure as below that checks the month of the Dated column, filters out the current month, and sums the Achievement values for the other months. (Dont create a calculated column).

Use below measure:

 

CurrentFY_Achievement_ExcludingCurrentMonth =
VAR CurrentMonth = MONTH(TODAY()) -- Get the current month number
VAR CurrentYear = YEAR(TODAY()) -- Get the current year
RETURN
CALCULATE(
SUM('Table'[Achievement]),
'Table'[Month_No] < CurrentMonth, -- Exclude the current month
'Table'[Years] = CurrentYear -- Filter for the current fiscal year
)

 

Hope this helps.





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
Ashish_Mathur
Super User
Super User

Hi,

Create a Calendar Table with a relationship (Many to One and Single) between the Date column of your Fact table to the Date column of the Calendar Table.  Write these measures

Total = sum9Data[Achievement])

Total YTD till previous month = calculate([Total],datesbetween(calendar[date],date(year(today()),1,1),eomonth(today(),-1)))

This measure assumes the FY to start from Jan.

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
rajendraongole1
Super User
Super User

Hi @Anonymous -create a measure as below that checks the month of the Dated column, filters out the current month, and sums the Achievement values for the other months. (Dont create a calculated column).

Use below measure:

 

CurrentFY_Achievement_ExcludingCurrentMonth =
VAR CurrentMonth = MONTH(TODAY()) -- Get the current month number
VAR CurrentYear = YEAR(TODAY()) -- Get the current year
RETURN
CALCULATE(
SUM('Table'[Achievement]),
'Table'[Month_No] < CurrentMonth, -- Exclude the current month
'Table'[Years] = CurrentYear -- Filter for the current fiscal year
)

 

Hope this helps.





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

Proud to be a Super User!





Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.