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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
joseph_Dev
Frequent Visitor

Turn 1 record into multiple rows?

Hello, 

 

I have a table from Dataverse called new_backlog where each row represents the project information of 1 project.

 

This is an example of my table:

MyCurrentTable.JPG

 

 

Columns Cashflow N, Cashflow N+1, Cashflow N+2, Cashflow N+3, Cashflow N+4, Cashflow N+5  represent the Cashflow of the project in year N (current year), year N+1, year N+2, year N+3, year N+4, and year N+5 respectively.

 

How can I create a graph that plots the cashflow (Y-axis) per its related year (x-axis)?

It should look something like this:

graph.jpg

 

Should I create a row for each project's Cashflow N, Cashflow N+1, Cashflow N+2, Cashflow N+3, Cashflow N+4, Cashflow N+5 under 1 column instead of having them as 6 columns? Example:

 

newtable.JPG

 

If so is there a way to transpose a table into a table (like above) in Power BI?

 

Thank you in advance for any help, and I am sorry if it is trivial as I am still relatively new to Power BI.

 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User
1 REPLY 1
amitchandak
Super User
Super User

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.