Forum Discussion
StuartSmith
Power Participant
6 years agoLatest Date from Multiple Rows
I have a table visual similar to the below and need to filter the table, so it only shows the latest for each coumtry. Unfiltered Table Country Date Qty UK 01/09/2020 10 UK 01/10...
- 6 years ago
Hi StuartSmith ,
To make the card visual show the same total in the table visual, you can create another measure to calculate it and put it in the card visual:
Sum of Qty = CALCULATE ( SUM ( 'Table'[Qty] ), FILTER ( ALL ( 'Table' ), [Control] = 1 ) )Check the modified sample file in the below, hopes to help you.
Best Regards,
Yingjie LiIf this post helps then please consider Accept it as the solution to help the other members find it more quickly.
StuartSmith
Power Participant
6 years agov-yingjl Not to sure if you can assist further, your solution works exactly as I asked, but I have noticed that there are 2 rows that dont have invoice dates and therefore flagged as "0" and therefore not displayed in the table. I need these rows to be displayed as well. Is this possible?
Ashish_Mathur
Super User
6 years ago- StuartSmith6 years ago
Power Participant
Ashish_Mathur Thanks. I will take a look at your solution.