Forum Discussion
Expression with the Today () function
- Anonymous9 years ago
I created the measure but the following error is occurring:
"A single value for column 'Dt. Extension' in table 'DMEGF_ContractsSupplier' can not be determined." This can happen when a measure refers to a column that contains many values without specifying an aggregation such as min, max, count, or to Get a single result. "
If (ISBLANK (DMEGF_ContractsSupplier);
DMEGF_ContractsProvider [Dt. Final] - TODAY ();
DMEGF_ContractsProvider [Dt. Extension] - TODAY ())
I created the measure but the following error is occurring:
"A single value for column 'Dt. Extension' in table 'DMEGF_ContractsSupplier' can not be determined." This can happen when a measure refers to a column that contains many values without specifying an aggregation such as min, max, count, or to Get a single result. "
If (ISBLANK (DMEGF_ContractsSupplier);
DMEGF_ContractsProvider [Dt. Final] - TODAY ();
DMEGF_ContractsProvider [Dt. Extension] - TODAY ())
AnonymousThis is a Calculated Column not a Measure!
- Sean9 years agoCommunity Champion
Anonymous
If you want a Measure try this instead
Measure = IF ( ISBLANK ( DMEGF_ContractsProvider[Dt. Extension] ); ( MIN ( DMEGF_ContractsProvider[Dt. Final] ) - TODAY () ) * 1; ( MIN ( DMEGF_ContractsProvider[Dt. Extension] ) - TODAY () ) * 1 )Good Luck! :smileyhappy: