Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
deekay1980
Frequent Visitor

Transform a Date field to Month Name and Month Number

Hi,

I have imported data from the powerbi service into powerbi desktop so I can try and model the data. Unfortunately it only gives me access to the reports level not the data source. I am trying to create a month name and month number field with a new measure but I have no idea how to do it. 

I have 'BankStatementDailyBalance' [Date] field but that is not being picked up when I type it in my new measure formula.

Any suggestions?

Screenshot_2.jpg

 

 

1 ACCEPTED SOLUTION
v-caliao-msft
Employee
Employee

@deekay1980,

 

When creating a measure, you need to apply a aggregate function when using a table field.
Capture.PNG

 

Regards,

Charlie Liao

 

View solution in original post

2 REPLIES 2
v-caliao-msft
Employee
Employee

@deekay1980,

 

When creating a measure, you need to apply a aggregate function when using a table field.
Capture.PNG

 

Regards,

Charlie Liao

 

deekay1980
Frequent Visitor

I tried this but it didnt work either - Month Number = month(DATE)

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.