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
wolfy_
Helper I
Helper I

Same site find the diferent tecnologies

Hi all,

 

Does any one know how to shaping the values of Tecn. of one column for a new colum whit all the Tecnologies fot that SITE

The new colum is Tecnologies, does any one know hot to get it?

SITETecn.Tecnologies
SITE_A2G2G_3G_4G
SITE_A3G2G_3G_4G
SITE_A4G2G_3G_4G
SITE_B3G3G
SITE_C2G2G_3G
SITE_C3G2G_3G
SITE_D2G2G_3G_4G_5G
SITE_D3G2G_3G_4G_5G
SITE_D4G2G_3G_4G_5G
SITE_D5G2G_3G_4G_5G
1 ACCEPTED SOLUTION
v-shex-msft
Community Support
Community Support

HI @wolfy_,

IF you mean to concatenate the 'Tecn' field values based on site group, I'd like to suggest you add a calculated column with concatenatex function.

Tecnologies =
CONCATENATEX ( FILTER ( Table, [SITE] = EARLIER ( Table[SITE] ) ), [Tecn.], "_" )

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

2 REPLIES 2
Ashish_Mathur
Super User
Super User

Hi,

This M code works

let
    Source = Excel.CurrentWorkbook(){[Name="Data"]}[Content],
    #"Grouped Rows" = Table.Group(Source, {"SITE"}, {{"All Technologies", each Text.Combine([#"Tecn."]
,","), type text}, {"All", each _, type table [SITE=text, #"Tecn."=text]}}),
    #"Expanded All" = Table.ExpandTableColumn(#"Grouped Rows", "All", {"Tecn."}, {"Tecn."}),
    #"Reordered Columns" = Table.ReorderColumns(#"Expanded All",{"SITE", "Tecn.", "All Technologies"})
in
    #"Reordered Columns"

Hope this helps.

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
v-shex-msft
Community Support
Community Support

HI @wolfy_,

IF you mean to concatenate the 'Tecn' field values based on site group, I'd like to suggest you add a calculated column with concatenatex function.

Tecnologies =
CONCATENATEX ( FILTER ( Table, [SITE] = EARLIER ( Table[SITE] ) ), [Tecn.], "_" )

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help 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.