Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
hi,
i have a table in DW that is updated every month.
how can I use DAX for summarizing "product a" for the most updated date?
date | product a | product b |
01/01/2018 | 69 | 500 |
01/01/2018 | 1669 | 5221 |
01/01/2018 | 0 | 128 |
01/01/2018 | 0 | 0 |
01/02/2018 | 0 | 129 |
01/02/2018 | 69 | 500 |
01/02/2018 | 1668 | 5220 |
01/02/2018 | 0 | 0 |
01/03/2018 | 1666 | 5222 |
01/03/2018 | 0 | 127 |
01/03/2018 | 69 | 497 |
01/03/2018 | 0 | 0 |
01/04/2018 | 1661 | 5221 |
01/04/2018 | 69 | 497 |
01/04/2018 | 0 | 127 |
01/04/2018 | 0 | 0 |
01/05/2018 | 1661 | 5221 |
01/05/2018 | 69 | 497 |
01/05/2018 | 0 | 127 |
01/05/2018 | 0 | 0 |
Solved! Go to Solution.
HI @chen_shany
I think this calculated measure will work for the data as you present it. I have attached a PBIX file that shows this and also a measure that works with Product B. However I recommend you pivot your data around so that Products are in rows and not columns.
Most Updated Product A = MAXX( FILTER( 'Table1', 'Table1'[product a]=MAX('Table1'[product a]) ), 'Table1'[date] )
HI @chen_shany
I think this calculated measure will work for the data as you present it. I have attached a PBIX file that shows this and also a measure that works with Product B. However I recommend you pivot your data around so that Products are in rows and not columns.
Most Updated Product A = MAXX( FILTER( 'Table1', 'Table1'[product a]=MAX('Table1'[product a]) ), 'Table1'[date] )
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 |
---|---|
81 | |
75 | |
60 | |
37 | |
33 |
User | Count |
---|---|
102 | |
56 | |
52 | |
46 | |
40 |