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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
siva3012
Helper II
Helper II

Create a NEW column inside matrix ?

Hi,

 

I have an loaded data into PowerBI and selected the TABLE visulization(Left side of the Picture). I need to convert the table in the left side into right side and i need to create an additional column by multiplying "PIMB * QM". 

 

PowerBI.jpg

 

Can anyone help me to solve this problem?

 

 

2 ACCEPTED SOLUTIONS
TomMartens
Super User
Super User

Hey,

 

I would recommend to use the "Pivot Column" function from the Querd Editor, this helps to transform a long table into a wide table.

From

image.png

 

To this

image.png

 

You can create your new column m3 = m1 * m2 either in Power Query or with DAX

 

Basically it's a good idea to consider a row in a table as observation with various measurements. An observation should always be unique but can consist of various keys. From your example I would consider your column "Time" as key. During one observation two measurements have been taken "PIMB" and "QM".

For this reason I would Pivot the column "Determinant_Name".

 

Hopefully this gives you an idea

 

Regards

Tom

 

 



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

View solution in original post

Hardik
Continued Contributor
Continued Contributor

Hi @siva3012,

 

You can first pivot the table on the basis of Determinant Name column and then use the below calculation to create a Price column:

 

 Untitled.png

View solution in original post

2 REPLIES 2
Hardik
Continued Contributor
Continued Contributor

Hi @siva3012,

 

You can first pivot the table on the basis of Determinant Name column and then use the below calculation to create a Price column:

 

 Untitled.png

TomMartens
Super User
Super User

Hey,

 

I would recommend to use the "Pivot Column" function from the Querd Editor, this helps to transform a long table into a wide table.

From

image.png

 

To this

image.png

 

You can create your new column m3 = m1 * m2 either in Power Query or with DAX

 

Basically it's a good idea to consider a row in a table as observation with various measurements. An observation should always be unique but can consist of various keys. From your example I would consider your column "Time" as key. During one observation two measurements have been taken "PIMB" and "QM".

For this reason I would Pivot the column "Determinant_Name".

 

Hopefully this gives you an idea

 

Regards

Tom

 

 



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Top Solution Authors