I have three calculated columns in my table. How do I group the data so that I have one row per Department that shows the Head of Department and the values of the three calculated columns.
I made a mock dataset seen here Data Before
And here is what I want the data to look like after Data After
You can simply display a cross table, with
Horizontal as (Column Names), which if you type it within Properties as an expression corresponds to <[Axis.Default.Names]>
Vertical as Department and then Head of Department, which corresponds to the expression <[Department] NEST [Head of Department]>
Cell values as the expression: Avg([Calculated1]) as [Calculated1], Avg([Calculated2]) as [Calculated2], Avg([Calculated3]) as [Calculated3]
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.