Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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".
Can anyone help me to solve this problem?
Solved! Go to Solution.
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
To this
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
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:
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:
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
To this
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
98 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
102 | |
88 | |
63 |