Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

How to get Latest date data.

we have 3 visuals (in , out and Existing). we want to show the latest date data.

 

Ex:  we have the below data, so in powr bi Table visula there sould be method A should be available and in "In" table, "Out" table should be blank and in in existing method A will be visible.

 

DetailsMethodPaymentDate
inA1003/10/2022
OutZ10003/8/2022
inD102/8/2022
OutH502/24/2022

 

If the latest date is 10th March, then data should be available for the 10. either it could be In or Out or for both. instead of showing all date record.

Rohini_dubey_0-1646900726088.png

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , You need to use a measure like below in table or use that visual level filter

 

measure =

var _max = maxx(allselected(Table), Table[Date]) //or use// maxx(all(Table), Table[Date]) 

return

calculate(sum(Table[Payment]), filter(Table, Table[Date] =_max))

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@Anonymous , You need to use a measure like below in table or use that visual level filter

 

measure =

var _max = maxx(allselected(Table), Table[Date]) //or use// maxx(all(Table), Table[Date]) 

return

calculate(sum(Table[Payment]), filter(Table, Table[Date] =_max))

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.