Forum Discussion

nawillia711's avatar
nawillia711
Helper I
6 years ago

Profile Graph

I have a data set that I would like to compare by time, but I have to calculate each x and y position for the 7 points I would like to display. Here is an example set of the data:

DateDischarge Lifter ADischarge Lifter BDischarge Lifter EDischarge Lifter Nail LengthDischarge Lifter P1Discharge Lifter P2Discharge Lifter P3Discharge Lifter P4Discharge Lifter P5
1/02/202030452589159231247250246
7/03/201917057115145232240235220

 

I calculate my X/Y points as these:

Point

X-1/02/2020Y-1/02/2020X-7/03/2019Y-7/03/2019
1-3044-145
2514134153
34021369240
475229104248
5110232139243
6145228174228
71806420958

 and I can graph it that to be able to compare one against the other.

 

How could I do this in Power BI?

 
 
 

6 Replies

    • nawillia711's avatar
      nawillia711
      Helper I

      Some formatting didn't carry over from excel. I have updated the post to account for that. It is 7 x/y points that are calculated. For point 1 the x value is -Discharge Lifter A. Every other x point is 35 added to that. For the Y positions the first one is the Nail Length-Discharge Lifter B. For points 2-6 the y position is the Nail Length+Discharge Lifter P[1-6]-107 and for the final point it is Naile Length-Discharge Lifter E.

      • parry2k's avatar
        parry2k
        Super User

        nawillia711 sorry I'm having a hard time following what we are trying to do here. I would recommend putting the data and calculations in the sample excel file and share excel file here, it will be easier to understand.

    • v-easonf-msft's avatar
      v-easonf-msft
      Community Support

      Hi , nawillia711 

      Maybe you need to convert the data table into the following structure first.

       

       

      Best Regards,
      Community Support Team _ Eason

      • nawillia711's avatar
        nawillia711
        Helper I

        Yes, I do need to do that, but how do I get it into that form?