Forum Discussion

pang22's avatar
pang22
Helper III
2 years ago
Solved

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.

 

 

 

 

  • 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. 

     

     

     

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

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

     

1 Reply

  • Musadev's avatar
    Musadev
    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. 

     

     

     

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

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