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

Disregard Dimension to show non-aggr values

Hi,

My data set looks like this

VendorNumberItemDescAmount
Vendor_1123For ABC
Vendor_1123Item-1100
Vendor_1123Item-2200
Vendor_3456For DEF
Vendor_3456Item-2200

And I need to build a pivot table like this

Dimension:

Vendor

Number

Item

Expression:

sum(Amount)

Desc

As you see that Desc is not available on the same row where Item is so it shows up empty.

Is there any way to show Desc for each Item on the row

Like as follows?

VendorNumberItemAmountDesc
Vendor_1123Item-1100For ABC
Item-2200For ABC
Vendor_3456Item-2200For DEF

I tried using Only function with Total but it does work.

Thanks,

Jean

17 Replies
jduluc12
Creator
Creator
Author

I can not change the load script

jduluc12
Creator
Creator
Author

It does not for me when I check "Suppress when value is null" for item.

I need to select that option for Items

sunny_talwar

Can you update my sample to show what exactly are you doing?

jduluc12
Creator
Creator
Author

Just check the "Suppress When Value is Null " for item and it stops showing the value for the desc.

I just tried in your sample.

sunny_talwar

Try this

If(Sum(Amount) > 0, Aggr(NODISTINCT Desc, Vendor, Number))

or just this

Aggr(NODISTINCT Desc, Vendor, Number)

jduluc12
Creator
Creator
Author

Here is the changed file.

jduluc12
Creator
Creator
Author

Thanks That works!

You are awesome!!

sunny_talwar

Updated it... check attached