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 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)
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 |
---|---|
115 | |
99 | |
86 | |
70 | |
62 |
User | Count |
---|---|
151 | |
120 | |
103 | |
87 | |
68 |