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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Tan_LC
Helper II
Helper II

Summarize Horizontable Table into Vertical Table

Hi, kindly assist as below:

 

1. Value from column "Cap_Base" until "SW_Apply" to be transposed from horizontal to vertical using DAX.

2. Any other method of grouping the Element into Section other than using IF function?

 

Before:

DateMachineProduct No.Cap_BaseCap_WindCap_TurretBelt_1Belt_2Belt_TurretBand_1Band_ILSW_Apply
28/08/20241A56658335556078427290
29/08/20242M74507082452371648473
30/08/20243B83334856404191698999

 

 

After:

DateMachineProduct No.SectionElementValue
28/08/20241A56CPCap_Base65
28/08/20241A56CPCap_Wind83
28/08/20241A56CPCap_Turret35
28/08/20241A56BLBelt_155
28/08/20241A56BLBelt_260
28/08/20241A56BLBelt_Turret78
28/08/20241A56BNBand_142
28/08/20241A56BNBand_IL72
28/08/20241A56BNSW_Apply90
29/08/20242M74CPCap_Base50
29/08/20242M74CPCap_Wind70
29/08/20242M74CPCap_Turret82
29/08/20242M74BLBelt_145
29/08/20242M74BLBelt_223
29/08/20242M74BLBelt_Turret71
29/08/20242M74BNBand_164
29/08/20242M74BNBand_IL84
29/08/20242M74BNSW_Apply73
30/08/20243B83CPCap_Base33
30/08/20243B83CPCap_Wind48
30/08/20243B83CPCap_Turret56
30/08/20243B83BLBelt_140
30/08/20243B83BLBelt_241
30/08/20243B83BLBelt_Turret91
30/08/20243B83BNBand_169
30/08/20243B83BNBand_IL89
30/08/20243B83BNSW_Apply99

 

Thank you.

 

Regards,

LC

3 REPLIES 3
Irwan
Super User
Super User

hello @Tan_LC 

 

this would be much easier with Power Query.

Irwan_0-1725250691131.png

 

your data has already been grouped by machine and product number however if you need to define another grouping, then IF or SWITCH will be useable.


Hope this will help.
Thank you.

@Irwan I've tried using Power Query previously and it fails to load the data as my data is huge.

 

Thank you.

hello @Tan_LC 

 

i am not sure if you want to do with DAX then.

based on my experience, if Power Query couldnt handle it, DAX might face same difficulties as well. 

 

since the data is huge, then you might be needed to filter your data or check your hardware.

 

Thank you.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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