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
mageshraja
Frequent Visitor

Consolidating Column with respect to another column Reference

Hello Everyone,

I'm trying to consolidated data in one column (Shop Order # - Level 3) wrt to another column (Shop Order # - Level 1) and get data's in one single row as shown in below output.

Can someone help me to get it done in Power BiColumn Consolidation.JPG

 

 

 

 

 

 

 

 

 

 

Thanks,

Magesh Raja

1 ACCEPTED SOLUTION

Hi @mageshraja 

Create a column

Column = "/"&CONCATENATEX(FILTER(Table1,Table1[shop order level1]=EARLIER(Table1[shop order level1])),Table1[shop order level3],"/")

8.png9.png

 

Best Regards
Maggie

 

Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Zubair_Muhammad
Community Champion
Community Champion

@mageshraja 

 

If you need a MEASURE, you can use CONCATENATEX to combine the values

 

Measure =
CONCATENATEX (
    VALUES ( TableName[Shop Order - Level 3] ),
    [Shop Order - Level 3],
    "/"
)

Regards
Zubair

Please try my custom visuals

Hi,

Thanks for the response. But solution is not giving the intended result.

When I try it in NEW COLUMN , all the data values in the column (Shop Order # - Level 3) are getting consolidated . Not reffered by the column (Shop Order # - Level 1). 

Hope we need to Refer the column (Shop Order # - Level 1) also into the command. Any suggestions for the same.

Column Consolidation_1.JPG

Hi @mageshraja 

Create a column

Column = "/"&CONCATENATEX(FILTER(Table1,Table1[shop order level1]=EARLIER(Table1[shop order level1])),Table1[shop order level3],"/")

8.png9.png

 

Best Regards
Maggie

 

Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.