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
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.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Power Platform 2020 release wave 2 plan

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors