Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
100 | |
81 | |
70 | |
62 |
User | Count |
---|---|
148 | |
116 | |
104 | |
90 | |
65 |