Summarize Table column order

boehnc

Board Regular
Joined
Mar 26, 2002
Messages
65
I am trying to union two tables (CMSum1 and CMSum2).

Any reason why the grouping column order is different than the way they are ordered here? Seems to be ok for CMSum2


CMSum1 = SUMMARIZECOLUMNS(CoreMeasure[YearMo],CoreMeasure[Pop Health Area],CoreMeasure[Division],CoreMeasure[CM Category],CoreMeasure[Measure], CoreMeasure[HiLow],FILTER(CoreMeasure,CoreMeasure[MetricType]=1),
"Num",SUM(CoreMeasure[PassFailChg]),
"Denom",CALCULATE(COUNTROWS(CoreMeasure)),
"Value",CALCULATE(sum(CoreMeasure[PassFailChg])/COUNTROWS(CoreMeasure)
))
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
I have no idea what you are asking, however I believe when you Union 2 tables, the first table columns are used to set the order and the second table column order is ignored, and the physically position of the columns are appended. Eg, if your first table is

colA, ColB
3,4
2,1

and your second table is
colB, ColA
5,6
7,8

I believe you will get
colA, ColB
3,4
2,1
5,6
7,8

you should test this, but that is my understanding.
 
Upvote 0

Forum statistics

Threads
1,223,762
Messages
6,174,351
Members
452,557
Latest member
savvaskef

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top