Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
nawillia711
Helper I
Helper I

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 6
nawillia711
Helper I
Helper I

Try this link

 

Profile Graph Test File 

Hi , @nawillia711 

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

2.png

 

4.png

 

Best Regards,
Community Support Team _ Eason

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

parry2k
Super User
Super User

@nawillia711 it is not clear from your post how does your raw data look like? Is the first table shows the raw data? What are 6 profile and what are the business rule to calculate x and y

 

Read this post to get your answer quickly.

https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

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.

@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.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Helpful resources

Announcements
December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.