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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
mafioso
Helper II
Helper II

Show just Month and Year of Date in Query Editor

Capture.PNG

 

I want to show just "March 2018" or something like "03/2018". How can I solve that issue in the Query Editor?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hey @mafioso,

 

To expand on what @Anonymous said, I would create a calculated column like:

 

Column = COMBINEVALUES("/", MONTH(Table[Date]), YEAR(Table[Date]))

This concatenates the month and year values of the date, separated by a "/"

 

Hope this helps,

Parker

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Hey @mafioso,

 

To expand on what @Anonymous said, I would create a calculated column like:

 

Column = COMBINEVALUES("/", MONTH(Table[Date]), YEAR(Table[Date]))

This concatenates the month and year values of the date, separated by a "/"

 

Hope this helps,

Parker

Anonymous
Not applicable

@Anonymous that will work, but he says need it on the Edit Query

Anonymous
Not applicable

@Anonymous right, I missed that

Thanks I didn't know that it's much easier using a calculated column. 

Anonymous
Not applicable

@mafioso I would recommend you to split all the values and using the "." as a delimiter, once they're separated you must create a custom colum concatenation in the right order all the values, and then changed the format.

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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