Forum Discussion
Summarize table creation issue
Hello,
I need a help to create summrize table.
Actually I can create a Summrize table but problem is when I add date to a meaure, It shows it in numeric format.
Here is screen shot : Test1 and Test2 should have accociate date but it shows 44,300 and 43835 repectively
Here is a file attached : click here
Thank you
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
1 Reply
- Jihwan_KimSuper User
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