Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
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
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
User | Count |
---|---|
25 | |
15 | |
14 | |
14 | |
9 |
User | Count |
---|---|
31 | |
20 | |
15 | |
15 | |
14 |