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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.