Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hello Community!
I have a list of several products where the most recent date is inserted. I would like the dashboard to filter each visual based on the most recent date based on each product.
Olá Comunidade!
eu tenho uma lista de varios produtos onde e inserido com a data mais recente. gostaria que baseado em cada produto o dashboard ja filtre-se cada visual baseado na data mais recente.
Solved! Go to Solution.
create a new column
filter_most_recent_prod_update =
VAR prod =
SELECTEDVALUE ( 'table'[productname] )
VAR mx_date =
CALCULATE ( MAX ( 'table'[date] ), ALL ( table ), 'table'[productname] )
RETURN
IF ( 'table'[productname] = prod && 'table'[date] = mx_date, 1, 0 )
then filter on this column where = 1
Proud to be a Super User!
create a new column
filter_most_recent_prod_update =
VAR prod =
SELECTEDVALUE ( 'table'[productname] )
VAR mx_date =
CALCULATE ( MAX ( 'table'[date] ), ALL ( table ), 'table'[productname] )
RETURN
IF ( 'table'[productname] = prod && 'table'[date] = mx_date, 1, 0 )
then filter on this column where = 1
Proud to be a Super User!