Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello, I have a table with my related products and their costs.
At the same time, there are the raw materials to which these products are connected and the monthly prices of these raw materials.
When I write my product code with the filter, I want to write a measure that will bring the last price of the relevant raw material and the price on the date I bought the product, can you help?
Thanks.
Raw Material 1 | 01.2023 | 450 |
Raw Material 1 | 02.2023 | 550 |
Raw Material 1 | 03.2023 | 650 |
Raw Material 1 | Unit A |
Unit A | 02.2023 |
There are 3 different tables;
First one, connected with second in column A to column A,
And second, connected with third in column B to column A.
I want to get 550 when i pick Unit A and 02.2023 in slicer. But it give me sum of column C of Table 1. I can't do don't summarize.
I used "Lastnonblankvalue" for latest price its ok, but i can't figure out how can i get the price of raw material which is the same time with last purchase of unit.
For example;
Raw Material 1 - 01.2023 - 450 Raw Material - Unit A Unit A - 02.2023
Raw Material 1 - 02.2023 - 550
Raw Material 1 - 03.2023 - 650
I want to get "550".
Hi @recepphaneci ,
Please describe your sample data in detail.
Is this three columns, or three tables?
You can add a table in the reply.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
102 | |
53 | |
21 | |
12 | |
12 |