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
nicolasvc
Helper III
Helper III

Create row items in columns

I have as table like this:

 

skuProductItemvalue
3251Aoffer10
3251Ademand15
8489Boffer20
8489Bdemand25

 

And I would like a table like:

 

skuProductofferdemand
3251A1015
8489B2025

 

The idea of ​​doing this is because I need the supply-demand, so that's why I want to separate them into 2 columns so that later I can create another one that has the subtraction. How could you make this move on the table?

1 ACCEPTED SOLUTION
AlexisOlson
Super User
Super User

Pivot the Item column in the query editor.

View solution in original post

2 REPLIES 2
AlexisOlson
Super User
Super User

Pivot the Item column in the query editor.

I was doing that but I created something this style:

skuproductofferdemand
3251A100
3251A015
8489B200
8489B025

 

but I already solved it, thanks!

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.

Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.