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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Fabric Monthly Update - May 2024

Check out the May 2024 Fabric update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.