Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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:
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
58 | |
56 | |
56 | |
38 | |
29 |
User | Count |
---|---|
75 | |
62 | |
45 | |
40 | |
40 |