Forum Discussion

CRypto2010's avatar
CRypto2010
New Member
2 years ago

[Request Support] --- Previous week Sales

Hello, 

Thanks in advance for your valuable.

 

I'm still beginner in Power BI desktop
Actually, I have previous week sales that works well

but when I added to the table the item " Product Model Code" to see the previous week by item
for each raw I see total week sales QTY (while I want to see each item performance).

here is the measure I'm using currently : 

---------------------------------------------------------------------------Measure--------------------------------------------

🅰️Previous_WeeK_QT⤴️ = CALCULATE(
    SUM('Confidential🅰️'[ Qte vendue]),
    FILTER(
  ALL('Confidential🅰️'),'Confidential🅰️'[WeekRank]=MAX('Confidential🅰️'[WeekRank])-1)
-----------------------------------------------------------------------------------------------------------------------------------

1 Reply