Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Solved! Go to Solution.
Hello,
The correct way to put together the data from the two tables, is to use Append Queries option to get a table like the following (with two repeated rows to remove):
| Product | Location |
| Product A | 200-A1 |
| Product A | 200-A2 |
| Product B | 400-A1 |
| Product A | 200-A1 |
| Product B | 400-A1 |
Then you can just apply Remove Duplicates on the table.
Regards
Hi @Oros ,
Thanks @Zang_Mi for sharing, here are some suggestions, I hope they can be helpful to you.
1. Create a measure to count products, and mark products greater than or equal to 2 as 1.
Measure =
VAR _cou = CALCULATE(COUNT(result[Product]),FILTER(ALL(result),'result'[Product] = MAX('result'[Product])))
RETURN
IF(_cou >= 2,1,0)
2. Click the small arrow next to the product field to set conditional formatting for its background color.
3. The final result is shown in the figure below.
If your Current Period does not refer to this, please clarify in a follow-up reply.
Best Regards,
Clara Gong
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Oros ,
Thanks @Zang_Mi for sharing, here are some suggestions, I hope they can be helpful to you.
1. Create a measure to count products, and mark products greater than or equal to 2 as 1.
Measure =
VAR _cou = CALCULATE(COUNT(result[Product]),FILTER(ALL(result),'result'[Product] = MAX('result'[Product])))
RETURN
IF(_cou >= 2,1,0)
2. Click the small arrow next to the product field to set conditional formatting for its background color.
3. The final result is shown in the figure below.
If your Current Period does not refer to this, please clarify in a follow-up reply.
Best Regards,
Clara Gong
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hello,
The correct way to put together the data from the two tables, is to use Append Queries option to get a table like the following (with two repeated rows to remove):
| Product | Location |
| Product A | 200-A1 |
| Product A | 200-A2 |
| Product B | 400-A1 |
| Product A | 200-A1 |
| Product B | 400-A1 |
Then you can just apply Remove Duplicates on the table.
Regards
hI @Zang_Mi,
Thank you for your reply. The only thing is that I would like to show (highlight) on the table the duplicates. Is it possible to highlight those duplicate records showing on the result table? Thanks again.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 40 | |
| 35 | |
| 34 | |
| 31 | |
| 28 |
| User | Count |
|---|---|
| 137 | |
| 102 | |
| 71 | |
| 67 | |
| 65 |