March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi all
I would like to create a measure but i am stuck. I have a product, for the product different materials with quantities and unit prices.
But in the table I use I have historical data as well. So there are different unit prices with different dates.
What I would like to do is filter out the latest dates for the duplicates and multiply the qty with unit price.
Kind of:
Part 1 mat1 1pcs 5Eur 1.12.2019
Part 1 mat2 0.3kg 8eur 5.12.2019
Part 1 mat3 0.8l 12eur 11.12.2019
Part 1 mat1 1pcs 4.5eur 6.1.2019
Part 1 mat3 0.8l 10eur 5.1.2019
Part 2 mat1 0.4pcs 6 eur 6.9.2019
Part 2 mat2 0.6l 8 eur 12.12.2019
......
There is an update on part1 mat1 and mat3 (material) with the latest date and only that is what i would like to see in the product (part1) costs.
Thank You
Solved! Go to Solution.
Please use the below logic
(1) Create a calculated column for finding the latest date for each group(Part, mat). If need, you include the qty in the filter clause
Please use the below logic
(1) Create a calculated column for finding the latest date for each group(Part, mat). If need, you include the qty in the filter clause
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
23 | |
15 | |
12 | |
9 | |
8 |
User | Count |
---|---|
40 | |
32 | |
29 | |
12 | |
11 |