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

Preparing for a certification exam? Ask exam experts all your questions on May 15th. Register now.

Reply
pang22
Helper III
Helper III

Group data in PowerBI

Hi,

 

I have the below dataset in PowerBI. How tot group the data based on No. to the yellow one in PowerBI?

Thanks.

 

 

 

pang22_0-1709016886893.png

 

1 ACCEPTED SOLUTION
Musadev
Resolver III
Resolver III

Hi @pang22 
Please check the below measure and the results on my dataset. I have added a new ID with additional records. 

 

Total Items = 
CONCATENATEX(
    VALUES(TBL1[ITEM]),
    TBL1[ITEM],
    ", "
)

Here is the data and output visual. 

Musadev_0-1709017512114.png

 

 

Musadev_1-1709017538917.png

 

You can remove the subtotal row from the Filters as well. 

If it solves your query, kindly mark it Solution. Good luck and Thanks

 

View solution in original post

1 REPLY 1
Musadev
Resolver III
Resolver III

Hi @pang22 
Please check the below measure and the results on my dataset. I have added a new ID with additional records. 

 

Total Items = 
CONCATENATEX(
    VALUES(TBL1[ITEM]),
    TBL1[ITEM],
    ", "
)

Here is the data and output visual. 

Musadev_0-1709017512114.png

 

 

Musadev_1-1709017538917.png

 

You can remove the subtotal row from the Filters as well. 

If it solves your query, kindly mark it Solution. Good luck and Thanks

 

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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