cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

Display Last Price and each Country's Price has a Different Dates

I would like to show the last price , each Country's last price has different dates

 

Table has Price , Dates , Countries

 

 

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User IV
Super User IV

@mohammedkhan add folowing as a measure

 

Last Price = 
CALCULATE( MAX( Table[Price]),
FILTER(
ALLEXCEPT( Table, Table[Countries]),
Table[Dates]=MAX(Table[Dates])
) )





Did I answer your question? Mark my post as a solution.

Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.





View solution in original post

1 REPLY 1
Highlighted
Super User IV
Super User IV

@mohammedkhan add folowing as a measure

 

Last Price = 
CALCULATE( MAX( Table[Price]),
FILTER(
ALLEXCEPT( Table, Table[Countries]),
Table[Dates]=MAX(Table[Dates])
) )





Did I answer your question? Mark my post as a solution.

Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.





View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Community Conference

Microsoft Power Platform Communities

Check out the Winners!

secondImage

Create an end-to-end data and analytics solution

Learn how Power BI works with the latest Azure data and analytics innovations at the digital event with Microsoft CEO Satya Nadella.

Top Solution Authors
Top Kudoed Authors