Skip to main content
Announcements
Customer Spotlight: Discover what’s possible with embedded analytics Oct. 16 at 10:00 AM ET: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Jox
Contributor
Contributor

Show only one occurrence of amount in latest month

Hello dev gurus

Can someone please help?

In this table I am trying to only display one Amount per Number, but to show the Amount always on the most recent month? I tried to use firstsortedvalue() but I just can't seem to get it to work.

Date Number Amount
20231 TI_50136703 17,210
20232 TI_50136703 17,210
20231 TI_50146031 18,055
20232 TI_50146031 18,055
20233 TI_50146031 18,055

 

Labels (1)
1 Reply
Or
MVP
MVP

Assuming these are all fields, you would have Number as your dimension and FirstSortedValue(Amount,-Date) as your measure.