Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
Hi everyone,
I've done this a dozen times but I am pulling my hair out trying to understand why this is being so difficult. I have a simple Dates Table created from DAX:
and I have a custom column creating the Month Num
Month Num = FORMAT('tblDates'[Date], "m")
and then comes the headache where my custom column for Month will not work (see picture):
Solved! Go to Solution.
@Justair07 Can't see any issue with your MonthName DAX formula... Did you tried this way ?
Test240DateGen = CALENDAR("2018-01-01","2018-12-31")
Then New Columns as
MonthNum = FORMAT([Date],"m") MonthName = FORMAT([Date],"mmm")
Proud to be a PBI Community Champion
@Justair07 Can't see any issue with your MonthName DAX formula... Did you tried this way ?
Test240DateGen = CALENDAR("2018-01-01","2018-12-31")
Then New Columns as
MonthNum = FORMAT([Date],"m") MonthName = FORMAT([Date],"mmm")
Proud to be a PBI Community Champion
@PattemManohar That did the trick! So it was an issue with the way the DAX created my dates. Thank you so much!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
86 | |
82 | |
42 | |
40 | |
35 |