Forum Discussion
Anonymous
5 years agoNot applicable
How to change hours into days?
- 5 years ago
Hi Anonymous ,
To convert Hours to Days, you can simply divide your field by 24.
hours_to_days = [your hour fileld]/24
Thanks,
Pragati
- 5 years ago
Hi Anonymous ,
Try the following dax to create new column:
day1 = 'Table'[Hour]/24day2 = int('Table'[Hour]/24) & " Days, " & mod(INT('Table'[Hour]),24) & " hours"Final you will get:
Wish it is helpful for you!
Best Regards
Lucien
v-luwang-msft
Community Support
5 years agoHi Anonymous ,
Try the following dax to create new column:
day1 = 'Table'[Hour]/24day2 = int('Table'[Hour]/24) & " Days, " & mod(INT('Table'[Hour]),24) & " hours"
Final you will get:
Wish it is helpful for you!
Best Regards
Lucien
Anonymous
5 years agoNot applicable
will you please help to know what's wrong with this Dax?
Thank you
Astha Nigam