Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi
I have created below measure to get the Last week value, but it skips some of the rows, unable to find out the reason.
X_Test_Measure =
VAR _LW_Price =
CALCULATE(
[Total Value],
DATEADD(
CalendarT[Date],
-7,DAY
)
)
RETURN
IF(ISBLANK([Total Value]),BLANK(),_LW_Price)Solved! Go to Solution.
Hi @vijayvizzu ,
You are using '-7' in your formula, and there's no matched date so it returns blank.
You may consider to modify the last part of your formula as below.
IF(ISBLANK(_LW_Price),BLANK(),[Total Value])
It will return the total value if last week price is blank.
Best Regards,
Jay
Hi @vijayvizzu ,
You are using '-7' in your formula, and there's no matched date so it returns blank.
You may consider to modify the last part of your formula as below.
IF(ISBLANK(_LW_Price),BLANK(),[Total Value])
It will return the total value if last week price is blank.
Best Regards,
Jay
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.