Forum Discussion
Make the Card visual display current values
- 7 years ago
PatrickLamoste you second measure need change or you can club both in one, double check the syntax/table names, might be typo
Terminated Selected Year = VAR selectedYear = SELECTEDVALUE( AllTerminated[Termination Year], YEAR(TODAY())) RETURN CALCULATE( COUNT(Allterminated[Last Date Worked]), AllTerminated[Termination Year] = selectedYear
)
PatrickLamoste are you looking to have year slicer on the page, and if no value selected then use current year otherwise use year from slicer?
If that is the case you can add a measure to get year selected, if not selected then default to current year
selectedYear = SELECTEDVALUE( Table[year], YEAR(TODAY() )
once you have year, you can update your count measure and filter data on "selectedyear" measure.
- PatrickLamoste7 years agoHelper I
Yes, that is exactly how I want the Card to function. Thank you I will give it a whirl.
- parry2k7 years agoSuper User
PatrickLamoste sounds good. feel free to reach out if need assistance.
- PatrickLamoste7 years agoHelper I
Hello,
I can't seem to make it work.
Here is my Selected Year Measure
And here is my Filter
Am I missing something here? I am fairly new to PBI.
Thanks!