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 created a mensure last year period:
Sales LY =
IF(
'Sales Ths Units'[Total Sales Units] <> BLANK(),
CALCULATE (
[Total Sales Units],
SAMEPERIODLASTYEAR ( Timedimension[Date] )
)
% last period units = DIVIDE( 'Sales Ths Units'[Total Sales Units] - 'Sales Ths Units'[Sales LY], 'Sales Ths Units'[Sales LY])
How to change my formula to show the result only if there is a previous same period last year?
Solved! Go to Solution.
maybe you can try
% last period units =if(ISBLANK('Sales Ths Units'[Sales LY]),BLANK(), DIVIDE( 'Sales Ths Units'[Total Sales Units] - 'Sales Ths Units'[Sales LY], 'Sales Ths Units'[Sales LY])
Proud to be a Super User!
maybe you can try
% last period units =if(ISBLANK('Sales Ths Units'[Sales LY]),BLANK(), DIVIDE( 'Sales Ths Units'[Total Sales Units] - 'Sales Ths Units'[Sales LY], 'Sales Ths Units'[Sales LY])
Proud to be a Super User!
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 |
---|---|
113 | |
99 | |
80 | |
70 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |