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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare 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
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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