I created a a data input cube joined to a select statement on a “patient id”. the data input interaction collects 2 columns of data - patient id and date of a service.
I would like to be able to allow the end user to input new dates of service in the dashboard, attached to the patient id.
However, there ends up being more then one date per id, and I’d like to create row numbers partitioned by customer id so that I can just filter and select the top row / most recent date for each customer.
Can this be done with C# / a calculated element or formula on the metric set? I looked through a lot of the metric set configuration info, and it seems like there must be a way, but could not figure out the best way to do it.
I’d appreciate any help!