I would like to calculate the total sales from SKU's that were delisted this year however were available in the prior year. The measure should sum the numbers only in bold.
I'm using a tabular model so the "Prior Year Sales" and "Current Year Sales" are both measures.
SKU Name Prior Year Sales Current Year Sales
SKU 1 10 0SKU 2 15 0
SKU 3 17 20
SKU 4 12 15
Is there a way to achieve this?
@RobCini you can use if condition to check
Delisted SKU Sales =
VALUES( Table[Sku] ),
IF( [Current Year Sales] == BLANK() || [Current Year Sales] = 0, [Prior Year Sales]
Proud to be a Datanaut! Appreciate your Kudos Feel free to email me with any of your BI needs.
Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.
We spoke with Power BI Super User, Greg Deckler, about his charity work
Continue your learning in our online communities.