문제

i have data in following data

Id     Status   Value   Line
A-001   1       10      A
A-001   1       20      B
A-001   1       30      C
A-002   2       11      A
A-002   2       12      B
A-002   2       13      C

using pivot, i want to transpose it to

ID    Status    A    B    C    Total
A-001    1     10    20    30    60
A-002    2     11    12    13    36

Thanks in advance.

도움이 되었습니까?

해결책

Drag ID and Status to the Rows, Line to the columns and Value to the Values panel.

Then, on the Design ribbon select Report Layout > Show in Tabular Form and Repeat All Item Labels. Remove the row sub-totals and the row grand total.

enter image description here enter image description here

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top