Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
manishsalanke
Helper II
Helper II

Cy and Ly filtering

Hi....team we have a scenario where we have created measures for current year and last year ,we have used these mesures

CY Sales Lacs = SUM(bi__sales[bill_amt])/ 100000  ------LY Sales Lacs = CALCULATE([CY Sales Lacs], SAMEPERIODLASTYEAR(Calender[Date]))                                                         
now the problem is that we have only 2 months of sales for current year and last year has all months data but as the measure for last year is calculating sameperiodlastyear it is showing only 2 months of data for last year where as if should show all the available months of data  ---- Following visual will explain the scenario like we have 2 month of data for the fy 23-24 and for 22-23 it has all the data but in ly sales measure it is taking only 2 month of data 
manishsalanke_1-1688639651584.png

 

0 REPLIES 0

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.