문제

Is there a way to conditional format a measure value as date in some case and numeric in some cases? I have a measure value Max, however some measure are dates and some are numeric. If I convert everything to numeric I lose dates and viceversa. can we just select a single measure and define max of it as a date and for others as numeric?

도움이 되었습니까?

해결책

This will depend on how your dates are formatted, but a date in dd/mm/yyyy format could be identified by the following calculated field.

IIF((FIND(ATTR([Max]), "/") > 0), 'Date', 'Number')

Identifying numeric or date values using a calculated field

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top