Hi,
I just wanted to know how to do this during "Get Data".
What I am doing:
1. Upload this table to PowerBI:
date_trans | dur_scheduled |
12/1/2016 | 9:00 |
12/2/2016 | 9:00 |
12/3/2016 | 0:00 |
12/4/2016 | 0:00 |
12/5/2016 | 9:00 |
12/6/2016 | 9:00 |
12/7/2016 | 9:00 |
12/8/2016 | 9:00 |
12/9/2016 | 9:00 |
12/10/2016 | 0: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.