Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
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.
User | Count |
---|---|
104 | |
86 | |
79 | |
71 | |
70 |
User | Count |
---|---|
112 | |
100 | |
98 | |
72 | |
66 |