Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi Experts,
I need to find the Current Row Column Value in Measure ( NOT Calculated Column) .
Am Having a DAX :
Solved! Go to Solution.
@chris_sam
So you need the total corrected? I hope the line amounts are giving the YTD correctly.
Try this measure:
YTD_FINAL =
IF( HASONEVALUE('table'[zzmatnr]),
CALCULATE(
SUM('table'[sales] ),
FILTER(
ALLEXCEPT('table','table'[zzmatnr] ),
'table'[month] <=MAX('table'[month]) , 'table'[Year] = MAX('table'[Year]) )
),
SUM('table'[sales] )
)
________________________
If my answer was helpful, consider Accepting it as the solution to help other members find it
Click the Thumbs-Up icon if you like this answer 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@Anonymous
You cannot use the EARLIER function in this context,
To get the result you are expecting, modify your measure this way:
YTD_FINAL =
CALCULATE(
SUM('table'[sales] ),
FILTER(
ALLEXCEPT('table','table'[zzmatnr] ),
'table'[month] <=MAX('table'[month]) , 'table'[Year] = MAX('table'[Year]) )
)
________________________
If my answer was helpful, please consider Accept it as the solution to help the other members find it
Click on the Thumbs-Up icon if you like this reply 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@Fowmy I tried you Measure.. Am Getting Wrong Value when am Using Two Years..
YTD Calc Grand Total Should be : 70
Please Check with Screenshot... its not Working out..
@Anonymous
Can you show the expected results and explain please
________________________
If my answer was helpful, please consider Accept it as the solution to help the other members find it
Click on the Thumbs-Up icon if you like this reply 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
This The 2018 month Value (Working Fine) :
This is 2019 Month 1 value :
Value which i need in Grand Total is 185 + 35 = 220 ... Value which am getting is 65 (ie . SUM of Year 2019 1st month , 7th Month and 13 Month which is am not even selected in Slicer .. i selected 2018 all months and 2019 1st Month Only)
@chris_sam
So you need the total corrected? I hope the line amounts are giving the YTD correctly.
Try this measure:
YTD_FINAL =
IF( HASONEVALUE('table'[zzmatnr]),
CALCULATE(
SUM('table'[sales] ),
FILTER(
ALLEXCEPT('table','table'[zzmatnr] ),
'table'[month] <=MAX('table'[month]) , 'table'[Year] = MAX('table'[Year]) )
),
SUM('table'[sales] )
)
________________________
If my answer was helpful, consider Accepting it as the solution to help other members find it
Click the Thumbs-Up icon if you like this answer 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
2018 all Value
2019 1st Month Value
2019 1st Moth Value
Its also Taking The Sum of 1st Month of year 2018 Sales value with 1st Month 2019 Sales value
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.