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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
vini_udenia
Helper I
Helper I

Section a List/Crosstab

I need to section a list based on values of a column, example want the list to be split up based on values of School. Currently, it all appears as a long list.

Current Output using List / Crosstab:

School          Candidate      Marks   Grade

-----------------------------------------

School A      Candidate 1    20         A

School A      Candidate 2    14         B

School A      Candidate 3    10         B

School B      Candidate 4    22        A

School B      Candidate 5    15         B

School B      Candidate 6    12         B

 

Desired Output:

School A

Candidate      Marks   Grade

-----------------------------

Candidate 1    20         A

Candidate 2    14         B

Candidate 3    10         B

 

School B

Candidate      Marks   Grade

-----------------------------

Candidate 4    22        A

Candidate 5    15         B

Candidate 6    12         B

3 REPLIES 3
v-xuding-msft
Community Support
Community Support

Hello @vini_udenia ,

What do you mean, the section of a list? Do you want to create two new tables? If so, you can try this:

School A =
SELECTCOLUMNS (
    FILTER ( 'Table', 'Table'[School] = "School A" ),
    "Candidate", 'Table'[Candidate],
    "Marks", 'Table'[Marks],
    "Grade", 'Table'[Grade]
)

If you don't want to create new tables, you can use a slicer to filter them or use an array visual to display them.

v-xuding-msft_1-1602063433056.png

v-xuding-msft_0-1602063418474.png

Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
amitchandak
Super User
Super User

@vini_udenia ,The information you have provided is not making the problem clear to me. Can you please explain with an example.
Can you share sample data and sample output in table format?
Appreciate your Kudos.

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi Amit, I've updated the description

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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