Quantcast
Channel: Service topics
Viewing all articles
Browse latest Browse all 61840

Use the most recent values based upon a date

$
0
0

Hi - I am looking to create a measure to do the following:

 

1. Obtain the most recent values based upon the most recent date (if the Actual column is not null).

2. Upon obtaining the most recent values, perform a calculation.

 

Example Table:

TABLE1234

 

DateActualTarget
2025-0156
2025-0238
2025-03810
2025-04 12
2025-05 15
2025-06 17

 

The result would be for the Date containing the most recent 'Actual Value'

Therefore the measure would use 2025-03

 

Actual = 8

Target = 10

 

Once the two values are known, then divide the Actual / Target.

 

Any thougths ? Jerry

 


Viewing all articles
Browse latest Browse all 61840

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>