Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
100 | |
80 | |
64 | |
57 |
User | Count |
---|---|
145 | |
111 | |
92 | |
84 | |
66 |