cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

Table Matrix and columns grouping

Hi there,

 

I have created a table matrix with sales by period like bellow.

I would like to reduce columns, and show

 

  • Before (january to current month - 1) in one column
  • 3 consecutive months from current month counting.
  • After (All remaining months until end of year)

Matrix Header.png

 

I manage to do this manually with a group list.I created bins by month and after group list.

But unfortunatelly each month I must remake groups and this is not convenient.

There is any solution to have dynamically columns grouped like this ?

 

Thank you

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Helper I
Helper I

Re: Table Matrix and columns grouping

Thanks,

 

Indeed I used group funciton, only that I need each month to update group list.

I found a solution for this

I create a group called Group

computed by compare with today's date

Group = IF(table[sales date]<=EOMONTH(TODAY(),-1),"Before",if(table[sales date]>EOMONTH(TODAY(),3),"After",table[sales date].[Month]))

View solution in original post

2 REPLIES 2
Highlighted
Microsoft
Microsoft

Re: Table Matrix and columns grouping

Hi @spidione,

 

If you just want to use the group in a formula, that would be easy. However, you used the "Group" function. That means you want to use them as columns. I'm afraid this isn't supported by now. Please create an idea here.

Table_Matrix_and_columns_grouping

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Helper I
Helper I

Re: Table Matrix and columns grouping

Thanks,

 

Indeed I used group funciton, only that I need each month to update group list.

I found a solution for this

I create a group called Group

computed by compare with today's date

Group = IF(table[sales date]<=EOMONTH(TODAY(),-1),"Before",if(table[sales date]>EOMONTH(TODAY(),3),"After",table[sales date].[Month]))

View solution in original post

Helpful resources

Announcements
May 2020 Community Highlights

May 2020 Community Highlights

It’s time for another PBI Community recap!

Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Using the Community

Using the Community

Need help with the Power BI Community? Our 'Using the Community' support articles are a great place to start.

Galleries

Galleries

Looking for inspiration on how to present your data? Need instructional videos? Check out our Galleries!

Top Solution Authors