Forum Discussion

Gurpreet86's avatar
Gurpreet86
Regular Visitor
1 year ago

Calculate Loss from various dates

Hi guys, I have a quick question. I want to calculate losses for 10 different stores from the date when they refurbished (all in last 12 weeks on different dates). 
I have Total loss figure for every stores (on weekly basis) but problem is I have these figures from start of financial year. However, I want to calculate from the date store reopened after refurbishments. 

So far, I have used WEEKNUM column to specify the week numbers. 

my aim is to compare losses per week with same period last year 

3 Replies

  • Weeks and years and "same period last year" are not compatible. Best you can do is subtract 364.

     

    Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).

    Do not include sensitive information or anything not related to the issue or question.

    If you are unsure how to upload data please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216

    Please show the expected outcome based on the sample data you provided.

    Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523

  • Preetsingh86's avatar
    Preetsingh86
    Regular Visitor
    Column1Store NumberStatusCompletion Date
    Project190Approved27/09/24
    Project259Approved27/09/24
    Project262Approved22/08/24
    Project301Approved11/10/24
    Project577Approved24/08/24
    Project602Approved01/11/24
    Project633Approved09/08/24
    Project633ApprovedAugust
    Project644Approved31/08/24
    Project836Approved23/08/24
    Project849Approved08/11/24
    Project917Approved04/10/24
    Project970Approved26/09/24
    Project1000Approved25/10/24
    Project1060Approved18/10/24
    Project1191Approved01/09/24
    Project1200Approved18/11/24
  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Gurpreet86 ,

     

    Could you please provide a description of the data model and visualization method to further elaborate on your requirements? This will help us provide better assistance.

     

    Regarding your request to compare store losses by week, I suggest using a Matrix visual object, with store names and weeks as rows and years as columns, to achieve a similar effect as shown in the diagram below.

    Best Regards,
    Bof