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
MichaelShown
Frequent Visitor

How to drag a column for grouping by that column in table visual

Hi,

 

I'm wondering if below scenarion can be accomplished in power bi.

 

200.JPG

 

A) I have a table visual showing product data as above.

B) I want BI user to analyze their inquiry results by dragging a column so that data is grouped by a selected column.

    For example, user A dragged Channel and then Color. Then, the data should be disaplyed as above.

    It's like a very simple pivot table in Excel.

C) If user A dragged Color first and then Channel, then the data should be disaplyed as above.

 

I can meet this requiremnts by using a matrix visual, but this job should be allowed to Power BI end users not designer.

Any comments will be very appreciated.

 

1 ACCEPTED SOLUTION
v-yanjiang-msft
Community Support
Community Support

Hi @MichaelShown ,

According to your description, here's my solution.

1.Create two field parameters.

vyanjiangmsft_0-1689235816828.png

Drag Channel and Color columns to the dialog

vyanjiangmsft_1-1689235916523.png

Then put the two parameters in matrix Rows and Item code in Values.

vyanjiangmsft_0-1689238031260.png

Get the result:

field.gif

I attach my sample below for your reference.

 

Best regards,

Community Support Team_yanjiang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-yanjiang-msft
Community Support
Community Support

Hi @MichaelShown ,

According to your description, here's my solution.

1.Create two field parameters.

vyanjiangmsft_0-1689235816828.png

Drag Channel and Color columns to the dialog

vyanjiangmsft_1-1689235916523.png

Then put the two parameters in matrix Rows and Item code in Values.

vyanjiangmsft_0-1689238031260.png

Get the result:

field.gif

I attach my sample below for your reference.

 

Best regards,

Community Support Team_yanjiang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.

July Newsletter

Fabric Community Update - July 2024

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