×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Power BI

Power BI

Power BI

(OP)
Hi

Does anyone know if there is a forum for Power BI Desktop I have a couple of questions that I could do with some help with

1. How do you sum Time fields hh:mm:ss
2. How do I concatenate a text field and a date field together. I know where to join 2 columns but I cannot get the syntax correct.

This is probably not the right Forum but if someone could point me to the right place please.

Thanks in advance

RE: Power BI

Hi,

1. How do you sum Time fields hh:mm:ss

You would only sum Time fields if at least one of them were a Time Duration field. You simply sum them and then FORMAT the result to suite your needs as you would any Date/Time value.
FAQ68-5827: Understanding Dates and Times & why they seem to be so much trouble?

2. How do I concatenate a text field and a date field

Since Date/Time values are numbers, you must convert your Date/Time value FORMAT using the TEXT() function as...

=TextFieldRef&TEXT(Date/TimeRef,"yyyy/mm/dd")



Skip,

glassesJust traded in my OLD subtlety...
for a NUance!tongue

"The most incomprehensible thing about the universe is that it is comprehensible" A. Einstein

RE: Power BI

Power Query part of Power BI (actually the advanced editor code from excel), starting with tData query querying excel table, with two columns ('txt' and 'date'):

let
    Source = tData,
    FormatTextDateColumn = Table.TransformColumns(Source,{{"date", each Date.ToText(Date.From(_),"yyyyMMdd") , type text}}),
    #"Merged Columns" = Table.CombineColumns(FormatTextDateColumn,{"txt", "date"},Combiner.CombineTextByDelimiter(" ", QuoteStyle.None),"MergedColumn")
in
    #"Merged Columns" 

Most of the code are recorded steps.

combo

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close