Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi guys
I need to sort my month name in the date order and not on alphabatical order so I was trying to add a new column based on month name which will give me the month no..
Here is my formula..
Month_Number = Month('Table1'[month_name])
This is the error I get below...
A single value for column 'master renewal month' in table 'Full list' cannot be determined. This can happen when a measure formula refers to a column that contains many values without specifying an aggregation such as min, max, count, or sum to get a single result.
Please help!!
Solved! Go to Solution.
Hi @nuttybuddy,
I don't think you can directly convert month name to number, maybe you can try to use datevalue function to transfer them to date, then use month function to get month number.
Sample:
MonthNum = MONTH(DATEVALUE('Table'[Month Name]&"/1"))
BTW, it seems like you are try to input calculated column formula into a measure, right?
Regards,
Xiaoxin Sheng
Hi @nuttybuddy,
I don't think you can directly convert month name to number, maybe you can try to use datevalue function to transfer them to date, then use month function to get month number.
Sample:
MonthNum = MONTH(DATEVALUE('Table'[Month Name]&"/1"))
BTW, it seems like you are try to input calculated column formula into a measure, right?
Regards,
Xiaoxin Sheng
Hi @Anonymous
When i tried this function in my chart it is popping as "Cannot convert value '/1' of type Text to type Date." can you please help
Thanks
Vamsi
HI @nuttybuddy
Do you have another column in the same table that is a DateTime value that matches the same month?
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
80 | |
76 | |
60 | |
36 | |
33 |
User | Count |
---|---|
91 | |
60 | |
59 | |
49 | |
45 |