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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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

Top Solution Authors
Top Kudoed Authors