“Value C” in Dax measures ?

  • “Value C” in Dax measures ?

    Posted by DSC Communities on June 21, 2020 at 3:46 pm
    • Khurram Muhammad

      Member

      June 21, 2020 at 3:46 PM

      Hi, Can we achieve “Value C” in Dax measures ?

      ——————————
      Khurram Muhammad
      Data Analyst
      Karachi
      ——————————

    • Lutz Bendlin

      Member

      June 21, 2020 at 5:49 PM

      You need an index column.Ā  Once you have that, read the articles on the Internet about “previous row data”

      ——————————
      Lutz
      ——————————
      ——————————————-

    • John Thomas

      Member

      June 22, 2020 at 5:38 PM

      Hi Khurram –Ā 

      As mentioned, if you can add an index column once your data is in the order you need it, you can then add a simple cumulative measure.

      Total Value A = SUM(‘Table'[Value A]??)
      Total Value B = SUM(‘Table'[Value B]??)
      Total Value AB = [Total Value A] +Ā [Total Value B]

      Cumulative Value AB =
      Ā  Ā  Ā CALCULATE( [Total Value AB],
      Ā  Ā  Ā  Ā  Ā  Ā FILTER(
      Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā ALL(‘Table’),
      Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā ‘Table'[Index] <= MAX(‘Table'[Index])
      Ā  Ā  Ā  Ā  Ā  Ā )
      Ā  Ā  Ā )

      ——————————
      John Thomas
      Huntersville NC
      ——————————
      ——————————————-

    DSC Communities replied 5 years, 4 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

The discussion ‘“Value C” in Dax measures ?’ 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!