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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
osama_ayoub
Helper III
Helper III

converting raw data extracted from oracle to tabular form

Hi,

I have sales data extracted from ORACLE and I need to convert it to tabular form ?

there is a row (which contain item information ) I want to transpose it ,

Regards To.PNGFrom.PNG

1 ACCEPTED SOLUTION
BA_Pete
Super User
Super User

Hi @osama_ayoub ,

 

You should be able to do this by creating a new custom column with the following calculation. I've referenced the column names as they show in your Excel example. Just switch them out for whatever the column names actually are in Power Query:

if [B] = "item" then [C] else null

 

Once you have your new column, you can select it and go to the Transform tab > Fill (dropdown) > Down.

Now you will probably need to remove the top 1 row of your table and promote your headers.

Then filter the [NET] column on ' <> null and <> "NET" '.

 

If you can provde a copyable example of your original data, I can build a working query for you to follow if need-be.

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




View solution in original post

1 REPLY 1
BA_Pete
Super User
Super User

Hi @osama_ayoub ,

 

You should be able to do this by creating a new custom column with the following calculation. I've referenced the column names as they show in your Excel example. Just switch them out for whatever the column names actually are in Power Query:

if [B] = "item" then [C] else null

 

Once you have your new column, you can select it and go to the Transform tab > Fill (dropdown) > Down.

Now you will probably need to remove the top 1 row of your table and promote your headers.

Then filter the [NET] column on ' <> null and <> "NET" '.

 

If you can provde a copyable example of your original data, I can build a working query for you to follow if need-be.

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

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.