Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 216047

Convert Field of Time Type During Data Refresh

$
0
0

Hi,

 

I just wanted to know how to do this during "Get Data".

 

What I am doing:

 

1. Upload this table to PowerBI:

date_transdur_scheduled
12/1/20169:00
12/2/20169:00
12/3/20160:00
12/4/20160:00
12/5/20169:00
12/6/20169:00
12/7/20169:00
12/8/20169:00
12/9/20169:00
12/10/20160:00

 

2. I wanted to do an aggregate so I did (and I have no problem with the code, it's aggregating as expected):

Duration Schedule Aggregate = SUMX(tablename,tablename[dur_scheduled]) * 24

3. Basically I don't want to do this for every field that is of time type so the question is:

Can I do this during "Edit Queries" --- multiply the time by 24 the same way as the code above.\

 

Thank you.


Viewing all articles
Browse latest Browse all 216047

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>