BookmarkSubscribe
sfkeydel
Community Trekker

Weighting within Tabulate

Hello,

Is it possible to calculate a weighted mean within Tabulate?

Thanks,
Stefan
0 Kudos
1 ACCEPTED SOLUTION

Accepted Solutions
Jeff_Perkinson
Community Manager Community Manager

Re: Weighting within Tabulate

Hi Stefan,

You can pre-assign the Weight role to your weighting column in the data table.

To do that use the columns panel on the left side of the data table and right-click on your weighting column and choose "Pre-select Role -> Weight".

Then Tabulate will use that column when calculating statistics.

Jeff
-Jeff
3 REPLIES 3
Jeff_Perkinson
Community Manager Community Manager

Re: Weighting within Tabulate

Hi Stefan,

You can pre-assign the Weight role to your weighting column in the data table.

To do that use the columns panel on the left side of the data table and right-click on your weighting column and choose "Pre-select Role -> Weight".

Then Tabulate will use that column when calculating statistics.

Jeff
-Jeff
sfkeydel
Community Trekker

Re: Weighting within Tabulate

Fantastic-- thanks, Jeff!

Stefan
0 Kudos
saitcopuroglu
Community Trekker

Re: Weighting within Tabulate

Dear Jeff,

Could you please specify it?

Let's say we have the following table:

How to calculate the weighted mean of ADR as the next column to ADR??

Thank you

Date

Revenue Sold

Rooms Sold

ADR

Monday

$ 60,000

200

$300.00

Tuesday

$ 96,000

300

$320.00

Mean ADR

$156,000

500

$312.00

0 Kudos