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
Anonymous
Not applicable

Concatenate row by ID_SESSION with order PAGE_VIEW_ID respected

Hello,

 

i try to achieve this result from this

 

From this:

 

ID_SESSION ID SESSION_DEBUT POPULATION PAGE_VIEW_ID SOURCE TARGET
100069-1-2018-11-06 101 1541507397 client 1 1-home 2-products
100069-1-2018-11-06 101 1541507397 client 2 2-products 3-services
100069-1-2018-11-06 101 1541507397 client 10 10-toto 11-faq

 

this:

 

ID_SESSION ID SESSION_DEBUT POPULATION PAGE_VIEW_ID SOURCE TARGET JOURNEY
100069-1-2018-11-06 101 1541507397 client 1 1-home 2-products 1- home > 2-products > 3-services > … > 10-toto > 11-faq
100069-1-2018-11-06 101 1541507397 client 2 2-products 3-services 1- home > 2-products > 3-services > … > 10-toto > 11-faq
100069-1-2018-11-06 101 1541507397 client 10 10-toto 11-faq 1- home > 2-products > 3-services > … > 10-toto > 11-faq

 

I tried this solution (i tried many solutions from different topics) because it was the one that achieved the best:

 

Journey = CONCATENATEX(FILTER(ALL('Table1');[ID_SESSION]=EARLIER('Table1'[ID_SESSION]));[SOURCE];" > ")
 
On this, even if i have sorted by PAGE_VIEW_ID to have 1,2,...,10,11,etc., he does return 1 > 10 > 11 > ... > 2 like the sort never happened (i have sorted in power query by ID_SESSION and PAGE_VIEW_ID) even if in preview it is well sorted 1, 2,3,4 etc.
 
Thanks by advance,
 
Morgan
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi,

 

sorry for being late but i resolved my problem.

 

I used a Reference Query to keep the sort perfectly and then used text.combine in a grouped rows query and then i created a new column using RELATED function to works perfectly 🙂

 

Thanks again !

View solution in original post

2 REPLIES 2
v-frfei-msft
Community Support
Community Support

Hi @Anonymous ,

 

Could you please share your sample data and excepted result to me if you don't have any Confidential Information.Please upload your files to One Drive and share the link here.

 

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.
Anonymous
Not applicable

Hi,

 

sorry for being late but i resolved my problem.

 

I used a Reference Query to keep the sort perfectly and then used text.combine in a grouped rows query and then i created a new column using RELATED function to works perfectly 🙂

 

Thanks again !

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.