Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now
hi there ,
i have a table "A "as below , i would like to create another new table" B" which shows the latest prices based on latest date .Could you pls help me
Solved! Go to Solution.
Just in case you want to do it in Power Query, you can use the concept of grouping.
Sharing the file with the logic implemented for your reference.
You could create Table B as
Table B = GENERATE( ALLNOBLANKROW( 'Table A'[Material]),
SELECTCOLUMNS( TOPN(1, 'Table A', 'Table A'[Date]), "Date", 'Table A'[Date], "Price", 'Table A'[Price])
)
Check out the October 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
111 | |
94 | |
92 | |
84 | |
69 |
User | Count |
---|---|
162 | |
129 | |
126 | |
106 | |
98 |