Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
8 | |
8 | |
8 | |
6 |
User | Count |
---|---|
14 | |
12 | |
11 | |
10 | |
8 |