Forum Discussion
Convert time zones
- 9 years ago
Hi B_Caron,
Do you have multiple columns which show the time for different timezone, right?
I have test it on my local environment, here is the sample steps for you reference. Sample data.
Create a new table like below.Create a measure in original table.
selectedValue =
IF (
ISFILTERED ( Table3[Country]) && HASONEVALUE (Table3[Country] ),
if(LASTNONBLANK (Table3[Country], 0 )="Chinese",
MAX(Table2[Chinese]),
if(LASTNONBLANK (Table3[Country], 0 )="UK",
MAX(Table2[UK]),
MAX(Table2[US])
)
),
BLANK()
)Then use this measure in your visual.
Regards,
Charlie Liao
Hi B_Caron,
Do you have multiple columns which show the time for different timezone, right?
I have test it on my local environment, here is the sample steps for you reference. Sample data.
Create a new table like below.
Create a measure in original table.
selectedValue =
IF (
ISFILTERED ( Table3[Country]) && HASONEVALUE (Table3[Country] ),
if(LASTNONBLANK (Table3[Country], 0 )="Chinese",
MAX(Table2[Chinese]),
if(LASTNONBLANK (Table3[Country], 0 )="UK",
MAX(Table2[UK]),
MAX(Table2[US])
)
),
BLANK()
)
Then use this measure in your visual.
Regards,
Charlie Liao