質問

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