Forum Discussion

Sandritto's avatar
Sandritto
Frequent Visitor
6 years ago

Matrix hierarchy grouping not showing data

Hi everyone,

 

I'm having trouble grouping data in a matrix. The matrix has two levels of columns, and a measure as values.

 

 

 

As you can see, with both levels deployed it shows data correctly. Trouble comes when I group up a level, it won't show any data. Like if there was something wrong with source data.

 

 

 

Here's a screenshot of the dataset, so you can see hierarchy has sense.

 

 

Congelado -- groups next 2 weeks.

Semiliquido -- groups from 2-6 next weeks.

Liquido -- groups from 7-8 next weeks.

 

Middle column is just for ordering purposes.

 

 

My goal is to get the average of the weeks im grouping. That's the simplest way I thought of doing it, maybe there's another way... creating another measure...

 

 

Any advice?

 

 

8 Replies

  • KEITHO's avatar
    KEITHO
    Frequent Visitor

    Could you not put week of year in the row value?

    Is there some reason that would not work for you?

    • Sandritto's avatar
      Sandritto
      Frequent Visitor

      Hi KEITHO ,

       

      There is. I don't want to show WeekofYear, just VarianceA grouped by Estado.

       

      The result would be someting like this, with the correct values:

       

       

      Regards

      • KEITHO's avatar
        KEITHO
        Frequent Visitor

        Ah ok.

        I thought that if you put Estado in rows, and weeks underneath it, it will give you the sum of variances for each week, and you could change it from sum to average.

  • Sandritto what are you trying to calculate, it is not very clear? What measure you alredy created?

    • Sandritto's avatar
      Sandritto
      Frequent Visitor

      Hi parry2k ,

       

      I'm just trying to group VarianceA by Estado. But it won't show any data as you can see in the screenshot above.

       

      The measure I created is VarianceA, which I'm using as values in the matrix.

       

      Regards