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.
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.
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.
User | Count |
---|---|
85 | |
79 | |
54 | |
39 | |
35 |
User | Count |
---|---|
102 | |
80 | |
48 | |
48 | |
48 |