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

Pivot Table Grouping for only existent values

Hello experts,

I need your help about below issue:

My data is like:

companyfileNameactivityTypeorderSumcampaignSum
A1F1C11050
A2F2C21432
A3F3C32267
A4F4C4158
A3F3C3204

 

I want to create a pivot table with:

  • dimensions:
    • company,
    • fileName
    • activityType
  • measures:
    • sum(aggr(sum(orderSum),company,fileName,activityType)
    • sum(aggr(sum(campaignSum),company,fileName,activityType)

But the result is far ahead of my need as:

For Company A the result is as attached

 

(Same for the other Companies with related sums)

But what i need is : 

companyfileNameactivityTypeorderSumcampaignSum
A1F1C11050
A2F2C21432
A3F3C34271
A4F4C4158

 

I dont want zero valued unnecassry, notrelated rows to be displayed. Could you please help me how to do this? 

Thank you,

Regards,

Tommy

Labels (1)
11 Replies
tommyl
Creator
Creator
Author

Yeah, i was checking the data model, there was a sync problem. If i succeed i will check it like the way you expressed.

Thank you. 

sunny_talwar

No problem 🙂