Forum Discussion
Summarize table creation issue
- 5 years ago
Hi, mohittimpus
I think it is because of the second one's (Test2) data type.
In a general situation, one measure can have one data type.
In order to see the date-type for the first one and the last one, please try to write your measure something like below.
measurefix =
SWITCH (
SELECTEDVALUE ( summrizeTable[Names] ),
"Test1", FORMAT ( MAX ( data[Date] ), "ddmmmmyyyy" ),
"Test2", MAX ( 'Table 1'[values] ),
"Test3", FORMAT ( MIN ( 'Date Table'[weekEnd date] ), "ddmmmmyyyy" )
)Hi, My name is Jihwan Kim.
If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.
Linkedin: linkedin.com/in/jihwankim1975/
Twitter: twitter.com/Jihwan_JHKIM
Hi, mohittimpus
I think it is because of the second one's (Test2) data type.
In a general situation, one measure can have one data type.
In order to see the date-type for the first one and the last one, please try to write your measure something like below.
SWITCH (
SELECTEDVALUE ( summrizeTable[Names] ),
"Test1", FORMAT ( MAX ( data[Date] ), "ddmmmmyyyy" ),
"Test2", MAX ( 'Table 1'[values] ),
"Test3", FORMAT ( MIN ( 'Date Table'[weekEnd date] ), "ddmmmmyyyy" )
)
Hi, My name is Jihwan Kim.
If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.
Linkedin: linkedin.com/in/jihwankim1975/
Twitter: twitter.com/Jihwan_JHKIM