Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

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
Anonymous
Not applicable

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
Anonymous
Not applicable

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]))

v-jiascu-msft
Employee
Employee

Hi @Anonymous,

 

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.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.