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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

SHOW ONLY MATCHING VALUES

Hi,

 

I want to show values of lastest date for every client:

Example:

Client    Date           Amount

x2019-03-0130
x2019-03-0260
x2019-03-0320
y2019-03-0140
y2019-03-0250

Result

x2019-03-0320
y2019-03-0250

 

Thanks

1 ACCEPTED SOLUTION
Ashish_Mathur
Super User
Super User

Hi,

 

These measures work

 

Last date = MAX(Data[Date])

Value on last date = CALCULATE(SUM (Data[Amount]),LASTNONBLANK(Data[Date],SUM(Data[Amount])))

 

Hope this helps.

 

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

3 REPLIES 3
Ashish_Mathur
Super User
Super User

Hi,

 

These measures work

 

Last date = MAX(Data[Date])

Value on last date = CALCULATE(SUM (Data[Amount]),LASTNONBLANK(Data[Date],SUM(Data[Amount])))

 

Hope this helps.

 

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Anonymous
Not applicable

Thanks, It works for me too

If my reply helped, please mark it as Answer.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.