Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
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
Solved! Go to Solution.
Hi @Sudhakar1000 -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.
Proud to be a 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.
Hi @Sudhakar1000 -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.
Proud to be a Super User! | |
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
104 | |
69 | |
48 | |
41 | |
34 |
User | Count |
---|---|
164 | |
112 | |
62 | |
54 | |
38 |