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.
Hello everyone,
I am trying to eliminate "items" that have not been sold enough times in the year per a week basis.
Thus, I would need to some the total quantity sold in a year of that item. Then I would eliminate the item that was not sold enough.
i.e. I only want items that were sold more than 20 times. Only 13 hamburgers were sold, thus I want to eliminate them. However, 34 pizzas were sold thus I want to keep them.
Thanks in advance for the help!
Week number | quantity sold | item title |
1 | 5 | hamburger |
2 | 0 | hamburger |
3 | 7 | hamburger |
4 | 1 | hamburger |
1 | 20 | pizza |
2 | 6 | pizza |
3 | 7 | pizza |
4 | 1 | pizza |
Hi,
One of the more straight-forward ways of doign this is to create a filter measure e.g.
I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!
My LinkedIn: https://www.linkedin.com/in/n%C3%A4ttiahov-00001/
Proud to be a Super User!
Hi,
If t is your table, the filtered table is
Filter(t,[Quantity] >20).
Best regards.
User | Count |
---|---|
21 | |
14 | |
11 | |
8 | |
5 |
User | Count |
---|---|
24 | |
22 | |
20 | |
15 | |
10 |