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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Anonymous
Not applicable

Create groups of columns

 My table has the following collumns

 

Stock Total - E1 - N0 - Product 1

Stock Total - E1 - N1 - Product 2

Stock Total - E1 - N2 - Product 3

 

Stock Total - E2 - N0 - Product 1

Stock Total - E2 - N1 - Product 2

Stock Total - E2 - N2 - Product 3

 

 

and so on.. more products types

 

 

 

Can I create a group of columns for E1 and E2 and then if I select the group on a visual, all corrresponding columns would show up? Otherwise, it's too many columns.. I know I could make relationships and create a olap cube, but if this is possible, then it's easier for me

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Well I ended up rebuilding my excel file and divided it in various tables. Thanks anyway

View solution in original post

4 REPLIES 4
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous,

 

You mean you have table like this? And many more columns?Create groups of columns1.JPG

 

 

 

If so, how about unpivoting them?Create groups of columns2.JPG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Then we can group them. Open the Drill mode. If we click the column, it expand all members of the group.

 Create groups of columns3.JPG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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

No, the rows are my columns

Hi @Anonymous,

 

How about unpivoting them into rows? For example, one column is "Date". All the rows will be dates. If we want to sum up by month, we only need to add a condition "month([Date]) = 1". While if the dates are in columns, we have to do it like this: [column1] + [column2] + ... ... + [column31].

 

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

Well I ended up rebuilding my excel file and divided it in various tables. Thanks anyway

Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors