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
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
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!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.