Forum Discussion
afeef
1 year agoNew Member
Current Year vs LY Comparison
Hi Community, So currently I'm trying to display current Sales vs LY Sales in a clustered column chart. I have created a measure for LY: NetSales LY = CALCULATE(sum('Current Sales'[NetSales])...
- 1 year ago
You could try
NetSales LY = VAR _Dates = CALCULATETABLE ( DATESYTD ( 'Calendar'[SalesDate] ), TREATAS ( { TODAY () }, 'Calendar'[SalesDate] ) ) VAR Result = CALCULATE ( SUM ( 'Current Sales'[NetSales] ), KEEPFILTERS ( SAMEPERIODLASTYEAR ( _Dates ) ) ) RETURN Result
v-ssriganesh
Community Support
11 months agoHello afeef,
We hope you're doing well. Could you please confirm whether your issue has been resolved or if you're still facing challenges? Your update will be valuable to the community and may assist others with similar concerns.
Thank you.