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
bryantmikdbi
Frequent Visitor

Measure for LY sales based on another column.

Sorry for the bad subject name but not sure how to describe.  I'll try to give a simplistic example of what I need to do.

ItemItem LYYearSales
Apple1Orange1202310
Grape1Banana1202315
Orange1 202220
Banana1 202225

 

I currently have a powerpivot table that has Item and a TY Sales measure and an LY Sales measure.  I want the LY measure to be based off the Item LY data but display with the Item.  For example, I'd like the above for Apple1 to have a TY value (2023) value of 10 but have an LY (2022) value of 20.  

 

Is this possible?

 

Thanks!

1 REPLY 1
wdx223_Daniel
Super User
Super User

i do not get your point, just guess

wdx223_Daniel_0-1675909935716.png

 

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.