Hi Experts
i need a DAX measure to show i the card the month name (sort format i.e. Jan) and the Year based on my slicer selection. So if i selected Jan from the month sclier and 2021 from the year sclier the show in the card
Jan 2021
Solved! Go to Solution.
@Anonymous , Try the below measure
Year-Month =
VAR __Month =
IF ( HASONEVALUE ( Table[MonthName] ), VALUES ( Table[MonthName] ) )
VAR __Year =
IF ( HASONEVALUE ( Table[MonthName] ), VALUES ( Table[Year] ) )
RETURN
__Month & " " & __Year
@Anonymous , Try the below measure
Year-Month =
VAR __Month =
IF ( HASONEVALUE ( Table[MonthName] ), VALUES ( Table[MonthName] ) )
VAR __Year =
IF ( HASONEVALUE ( Table[MonthName] ), VALUES ( Table[Year] ) )
RETURN
__Month & " " & __Year