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

Top Solution Authors
Top Kudoed Authors