Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. 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
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
15 | |
11 | |
8 | |
8 | |
8 |
User | Count |
---|---|
22 | |
13 | |
11 | |
10 | |
10 |