Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
hi team
i have a table "discover data" in which i have a coloumn "Month"
when i bring this month to a line chart, it doesn't show me the way i want to see
basically the ranking should be if the month is Jul, it should rank as 1 ...... until jun should rank as 12
how do i do this?
@vjnvinod Please create a calculated column as per below
Column =
VAR _month = MONTH(DiscoverData[Date])
RETURN IF(_month>6,_month-6,_month+6)
@Anonymous
there is no date vimal, its just month
hence the below meausre is throwing error
@vjnvinod try a switch statement in calculated column
ExpectedMonthNumber = SWITCH(TRUE()
,'Table'[Month] = "July",1
,'Table'[Month] = "August",2
,'Table'[Month] = "Sepetember",3
,'Table'[Month] = "October",4
,'Table'[Month] = "November",5
,'Table'[Month] = "December",6
,'Table'[Month] = "January",7
,'Table'[Month] = "February",8
,'Table'[Month] = "March",9
,'Table'[Month] = "April",10
,'Table'[Month] = "May",11
,'Table'[Month] = "June",12
,0)
User | Count |
---|---|
93 | |
85 | |
78 | |
67 | |
63 |
User | Count |
---|---|
113 | |
99 | |
97 | |
64 | |
59 |