Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hello,
I have a dynamic date selector. I have 2 measures (YTD and LAST YEAR YTD). These 2 measure show correct sales numbers based on date selection. However, I cannot find the correct measure to correctly subtract YTD from Last Year YTD. Any help will be appreciated. A simple measure of Measure#1 (minus) Measure#2 does not give me the correct result.
MEASURE #1
SALES CURRENT YTD =
SUM('SALES'[SALES AMOUNT])
MEASURE #2
SALES LAST YEAR YTD =
CALCULATE(
SUM('SALES'[SALES AMOUNT]),
SAMEPERIODLASTYEAR('Calendar'[Date]), 'Calendar'[Date] <= date(year(today()), month(today())-12, day(today()))
)
Solved! Go to Solution.
@Oros Better Year Over Year Change - Microsoft Fabric Community
@Oros Better Year Over Year Change - Microsoft Fabric Community
User | Count |
---|---|
120 | |
69 | |
69 | |
57 | |
50 |
User | Count |
---|---|
167 | |
82 | |
68 | |
65 | |
53 |