Forum Discussion
Patricio479
3 years agoFrequent Visitor
Select an specific value from a filtered table
Hello, dear PBI experts. I have a table that contains data related to "Division", "Date" and "Number". I have created two slicers to filter by Division and Date. After these filters are applied I...
- 3 years ago
Hey Patricio479 ,
if this is your target result:you can try to apply this formula into your model. Should work for your described purpose.
MAX Value = CALCULATE( MAX(yout_table[Number]), 'Calendar'[Date] = MAX(your_table[Date]) )
Regards - 3 years ago
Patricio479 Ok, let's test it, if it doesn't work then I will recreate dataset on my end to test it:
Measure = CALCULATE ( MAX ( Table[Number] ), INDEX ( 1, SUMMARIZE ( ALLSELECTED ( Table ), Table[Date], Table[Division] ), ORDERBY ( Table[Date], DESC ), PARTITIONBY ( Table[Division] ) ) )
Ashish_Mathur
3 years agoSuper User
Hi,
Share data in a format that can be pasted in an MS Excel file.
- Patricio4793 years agoFrequent Visitor
Hello Ashish!
Thanks for your message. Hope this helps:Division Date Number A 15/01/2023 0,82 B 15/01/2023 0,94 C 15/01/2023 0,88 D 15/01/2023 0,86 A 25/02/2023 0,98 B 25/02/2023 1,14 C 25/02/2023 0,98 D 25/02/2023 1,15 A 20/03/2023 0,87 B 20/03/2023 1,52 C 20/03/2023 1,07 D 20/03/2023 1,60 A 11/04/2023 0,92 B 11/04/2023 1,52 C 11/04/2023 1,07 D 11/04/2023 1,60 Thanks!
Pat.