-1

I have the need to show the latest figure in a dataset within a card visual. This data is added to each month so i have a need to only show the latest month. I've currently got this measure but it doesnt seem to be working. Any help?

last = 

var last_value = MAX('Civils CRE ATW New'[# Staff])

RETURN
MAXX(
FILTER(ALL('Civils CRE ATW New'),'Civils CRE ATW New'[# Staff] = last_value),
'Civils CRE ATW New'[# Staff]
)
1
  • Can you add two columns of sample data? What type of data is #Staff? Where's your time column? Commented Mar 18 at 20:51

2 Answers 2

0

you need to have a column that can display orders. e.g. date column

enter image description here

Measure =
VAR _date =
    MAX ( 'Table'[date] )
RETURN
    MAXX ( FILTER ( 'Table', 'Table'[date] = _date ), 'Table'[value] )

enter image description here

Sign up to request clarification or add additional context in comments.

Comments

0

I found the below solution to work for my problem.

Latest = LASTNONBLANKVALUE('table'[column], SUM('table'[column]))

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.