Comparer donnƩes entre deux dates

  • Comparer donnĆ©es entre deux dates

    Posted by DSC Communities on January 8, 2023 at 5:49 pm
    • Younes HALLAI

      Member

      January 8, 2023 at 5:49 PM

      Bonjour,Ā 
      Je dois comparer plusieurs colonnes entre deux dates aujourd’hui et j-1. Je suis encore dĆ©butant, auriez vous des idĆ©es de comment faire ?Ā 

      Merci d’avance

      ——————————
      Younes HALLAI
      Apprentice data analyst
      ——————————

    • Chi Truong

      Member

      January 9, 2023 at 10:59 AM

      Tu peux utiliser ca (et l<adapter a tes besions):

      ValueDoD% =
      IF(
      ISFILTERED(‘Tbl_Name'[InvoiceDate]),
      ERROR(“Please use date hierarchy or primary date column.”),
      VAR __PREV_DAY =
      CALCULATE(
      SUM(‘Tbl_Name'[Value]),
      DATEADD(‘Tbl_Name'[InvoiceDate].[Date], -1, DAY)
      )
      RETURN
      DIVIDE(SUM(‘Tbl_Name'[Value]) – __PREV_DAY, __PREV_DAY)
      )

      ——————————
      Chi Truong
      BI Optimization & Performance Analyst
      ——————————
      ——————————————-

    DSC Communities replied 2 years, 9 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

The discussion ‘Comparer donnĆ©es entre deux dates’ is closed to new replies.

Start of Discussion
0 of 0 replies June 2018
Now

Welcome to our new site!

Here you will find a wealth of information created for peopleĀ  that are on a mission to redefine business models with cloud techinologies, AI, automation, low code / no code applications, data, security & more to compete in the Acceleration Economy!