Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
How can I filter out data based on values in another column with a sample table:
Answer should be 100000.
Cust | Product | Date | dept | Tor |
A | acme | 1/1/2019 | tires | 65000 |
A | bell | 1/1/2020 | brakes | 5000 |
A | acme | 1/1/2018 | tires | 5000 |
B | acme | 1/1/2017 | tires | 30000 |
C | bell | brakes | 400000 | |
C | stud | brakes | 1000000 | |
A | acme | 2/1/2018 | tires | 100000 |
I would like to take out values less than 50,000.
So if we had a product that sold for less than 50,000 and it was the earliest/first product sold, then the formula would skip it and move to the next product to see if it was greater than 50,000.
Solved! Go to Solution.
Hi @Anonymous ,
I didn't get the point.
What's your expected out put? A measure or a column or a table?
Some thing like this?
Measure = CALCULATE(SUM('Table'[Tor]),FILTER('Table','Table'[Date]=CALCULATE(MIN('Table'[Date]),FILTER('Table','Table'[Tor]>50000))))
Best Regards,
jay
Hi @Anonymous ,
I didn't get the point.
What's your expected out put? A measure or a column or a table?
Some thing like this?
Measure = CALCULATE(SUM('Table'[Tor]),FILTER('Table','Table'[Date]=CALCULATE(MIN('Table'[Date]),FILTER('Table','Table'[Tor]>50000))))
Best Regards,
jay
@Anonymous Awesome man. I took that formula and edited it further and it helped! Your a rockstar man!
I didn't know you could add an '=' inside a calculate and then put another calculate within.
How can I learn more of this lol?
Thanks,
Further to the help request:
I have this table and what i need to do is pull out the information from the second row:
SInce it meets the criteria: Grab the olderst created date for a product where the sales price converted is greater than 50k.
From here, I am not sure how to proceed as I'm getting blanks and the incorrect result in the table:
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
65 | |
64 | |
56 | |
39 | |
27 |
User | Count |
---|---|
85 | |
59 | |
45 | |
43 | |
38 |