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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
pang22
Helper II
Helper II

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 II
Resolver II

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 II
Resolver II

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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