Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Hi!
I have a table like this:
Web Page | Article |
Article about cats | |
Article about dogs | |
Article about birds | |
Article about cats |
I would need to create a custom column that would search if the article name is exactly the same between two or more rows it would produce a custom values that tell the web pages that have the same article:
Web page | Article | Custom |
Article about cats | Facebook & Instagram | |
Article about dogs | ||
Article about birds | ||
Article about cats | Facebook & Instagram |
There are millions of articles in my dataset so I cant use the name of the article in the calculation. Any ideas on solving this? Thank you!
Solved! Go to Solution.
Hi @mattih ,
Here are the steps you can follow:
In Power Query:
1. Group By – [Article] – Operation – All Rows
2. Add Column -- Custom Column -- Enter code:
[Count][Web Page]
3. [Custom] – Extract Values
3. Remove [Article]
4. Select [Count] -- Expand
5. Result:
Use Dax:
1. Create calculated column.
Custom =
CONCATENATEX(
FILTER(ALL('Table'),
'Table'[Article]=EARLIER('Table'[Article])),[Web Page],"&")
2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @mattih ,
Here are the steps you can follow:
In Power Query:
1. Group By – [Article] – Operation – All Rows
2. Add Column -- Custom Column -- Enter code:
[Count][Web Page]
3. [Custom] – Extract Values
3. Remove [Article]
4. Select [Count] -- Expand
5. Result:
Use Dax:
1. Create calculated column.
Custom =
CONCATENATEX(
FILTER(ALL('Table'),
'Table'[Article]=EARLIER('Table'[Article])),[Web Page],"&")
2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
User | Count |
---|---|
13 | |
8 | |
8 | |
7 | |
5 |
User | Count |
---|---|
21 | |
15 | |
15 | |
10 | |
7 |