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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!