Forum

Power Pivot – Custo...
 
Notifications
Clear all

Power Pivot – Custom Sort order for multiple fields

3 Posts
2 Users
0 Reactions
291 Views
(@claudine)
Posts: 33
Trusted Member
Topic starter
 

Hi,

I made a closing control sheet for which I would like to make a pivot table with following sorting view

First Section (from financial statement), then Frequency (of execution) and then Business day (of execution)

I learned a nice trick in a webinar of Mynda (Interactive Excel Dashboards with Power Query and Power Pivot), so I executed following steps

  1. Add a sort column in those 3 "Characteristic" tables, move them to the data model & create link with the data table
  2. Hide those Characteristics in data table
  3. Create Pivot with fields from Characteristic tables

Issue : a line which is shown only once in the data table is repeated where it shouldn't

Is there a way to avoid this?

See files attached

Kr Claudine

 
Posted : 09/11/2018 6:55 am
(@mynda)
Posts: 4761
Member Admin
 

Hi Claudine,

Your model is missing relationships between the Frequency and Business Day tables and your Closing Control Sheet. You have fields from your Frequency and Business Day tables in your PivotTable, but Excel doesn't know how they relate to the Values field 'Activity'. This is why there is a yellow warning box above the field list stating 'Relationships between tables may be needed'.

If you add the relationships the PivotTable only contains one row.

I hope that points you in the right direction.

Mynda

 
Posted : 12/11/2018 7:11 pm
(@claudine)
Posts: 33
Trusted Member
Topic starter
 

Hi Mynda,

all looks fine now! thank you for solving my query

Kind regards,

Claudine

 
Posted : 13/11/2018 3:54 am
Share: