Forum Discussion
smerchant
7 years agoHelper I
Get First and Last Rows with all Columns
I have data something like this and I want get the first and last rows based on the date: I created some measure for example like InitialScore, LastScore, FirstDate...: InitialScore =
MINX(...
- Anonymous7 years ago
HI smerchant ,
You can consider to do unpivot columns on your fields, then you can simply write formula to calculate first/last records based on original category and attribute group.
Regards,
Xiaoxin Sheng
parry2k
7 years agoSuper User
smerchant issue with your question is to get all columns in a row, it is possible to get a column, not a problem, and you have to perform the same calculation for all the columns.
smerchant
7 years agoHelper I
Thanks. Even if you have 20 columns? is it possible to create a seperate table based on the condition/filter which gets updated?
- Anonymous7 years agoNot applicable
HI smerchant ,
You can consider to do unpivot columns on your fields, then you can simply write formula to calculate first/last records based on original category and attribute group.
Regards,
Xiaoxin Sheng