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.
As per Below table
Month | Value | YTD | Logic |
Apr-23 | 278.5 | 278.5 | Apr-23 |
May-23 | 181.9 | 460.4 | Apr-23+May-23 |
Jun-23 | 147.5 | 607.9 | Apr-23+May-23+Jun-23 |
Continue till Mar-24
And Same will start for Apr-24
Plz help to resolve this
Solved! Go to Solution.
Hi @jackypatel - You can use DAX to calculate the YTD values.This approach also calculates the YTD value but uses a filtering logic to include only months within the same fiscal year.
YTD Value =
CALCULATE(
SUM(Table[Value]),
DATESYTD(
Table[Month],
"03-31" // End of fiscal year (March 31)
)
)
I hope you have a calendar table created in your model. please replace the same and place the value field.
Proud to be a Super User! | |
Hi @jackypatel - You can use DAX to calculate the YTD values.This approach also calculates the YTD value but uses a filtering logic to include only months within the same fiscal year.
YTD Value =
CALCULATE(
SUM(Table[Value]),
DATESYTD(
Table[Month],
"03-31" // End of fiscal year (March 31)
)
)
I hope you have a calendar table created in your model. please replace the same and place the value field.
Proud to be a Super User! | |
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
147 | |
85 | |
66 | |
52 | |
46 |
User | Count |
---|---|
215 | |
90 | |
83 | |
66 | |
58 |