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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Basic Question on Columns and formulas

Hello, I have a couple generic questions regarding adding columns to my data. In my source table I have 2 columns for the date and time. I need to represent that as 1 column in reports so in my edit queries I created a column as 

 

newdatetime = Text.From([log_date]) & " " & Text.From([time])

 

This trippled the size of my model and I understand it to be due to a combined field like this having less compressability. Is it not possible to have this as a computed value that is not persisted in the model?

 

And maybe related to this, I was trying to extract a portion of several columns (and do some math etc) as a formula like below. My example is simplified, so in reality column split isn't an answer. In the add custom column of edit queries this produces an error (Expression.Error: The name 'LEFT' wasn't recognized) even though it says the syntax is fine. In the modeling screens new column it does not produce an error. Are they using different languages or syntaxes?

 

newcol = LEFT([original_col],3)

 

Also the new columns added in modeling don't appear in the edit queries, which makes me wonder if I'd added my concatenated date & time field there if it would not have physically been stored. I find all this a bit confusing and wonder which place I should be adding custom columns.

1 ACCEPTED SOLUTION
Vvelarde
Community Champion
Community Champion

@Anonymous

 

In Edit Query (Query Editor) you are using Power Query (M). In other sections in Power BI you are using DAX.

 

 

 

 




Lima - Peru

View solution in original post

2 REPLIES 2
Vvelarde
Community Champion
Community Champion

@Anonymous

 

In Edit Query (Query Editor) you are using Power Query (M). In other sections in Power BI you are using DAX.

 

 

 

 




Lima - Peru
Anonymous
Not applicable

Thanks very much. Basic question but that helps!

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.