1

今日はここで多くの役立つヘルプを見つけており、本当に感謝しています。これがその日の最後のものになるはずです:

サイトごとの上位 10 のキーワードのリストを、訪問数と日付で並べ替えました。レコードは次のように並べ替える必要があります (書式設定についてはお許しください)。

        2010 年 5 月 2010 年 4 月
site1.com キーワード1 りんご ワイン
    キーワード 1 の訪問数 100 12
    keyword2 みかん 水
    キーワード 2 の訪問 99 10
site2.com キーワード 1 ブルーベリー コーンブレッド
    keyword1 の訪問数 90 100
    キーワード2 正方形のビスケット
    keyword2 の訪問数 80 99

基本的に私が達成する必要があるのはグループ化ですが、それを理解できないようです。私は正しい道を進んでいますか、これを達成する別の方法がありますか、それとも単に不可能ですか?

編集: データセットは次のようなものです (csv):

サイト名,日付,キーワード,訪問数
site1.com、2010-04、りんご、100
site1.com、2010-04、オレンジ、99
site1.com、2010-05、ワイン、12
site1.com、2010-05、水、10
site2.com、2010-04、コーンブレッド、100
site2.com、2010-04、ビスケット、99
site2.com、2010-05、ブルーベリー、90
site2.com、2010-05、四角、80

X 軸には「date」値が必要です。Y 軸には「site_name」がプライマリ値として必要ですが、その中でグループ化するには、「keyword」の後にそれぞれの値が続く必要があります。 「訪問」。

4

2 に答える 2

1

Ok, I think you are going down the right track. It's a little tricky getting the groups right, but this should be able to be solved with grouping.

What it looks like you need is a matrix (the table where you can have dynamic rows and columns) and put the dates in a group across the top. Then group the rows by site name and then (I think) by keyword.

If grouping by keyword doesn't work, try grouping by the row number instead (within the scope of the site name group)? If this doesn't work, try getting your database to produce an extra column with rank in it first. Then you can definitely group by that. What I mean is:

site_name,date,keyword,visits,rank
site1.com,2010-04,apples,100,1
site1.com,2010-04,oranges,99,2
site1.com,2010-05,wine,12,1
site1.com,2010-05,water,10,2
site2.com,2010-04,cornbread,100,1
site2.com,2010-04,biscuits,99,2
site2.com,2010-05,blueberry,90,1
site2.com,2010-05,squares,80,2

You should then be able to add two rows in that group to put the keyword and visits in. If you can't, you might have to resort to fancy rectangle work - in the detail cell, put a rectangle, then two textboxes, with the keyword in the top one and the number of visits in the bottom one.

于 2010-06-01T03:14:14.970 に答える
1

「サイト」でグループ化された行を作成し、次に「キーワード」でグループ化された子/サブ行を作成します

列の数がわかっているため、マトリックスを使用する必要はありません。したがって、テーブルで行うことができます

したがって、グループ化は =Fields!site_name のようになり、同じ値がテキスト ボックスに表示されます。

次に、次のグループ化のために =Fields!keyword テキストボックスの同上

SUM を使用して、グループの合計に含まれる vists =SUM(Fields!vists) の数を計算できます。

于 2010-06-01T11:06:29.413 に答える