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
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
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.