Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Converting Tableau Calculation to Power BI

Hi I have this column in a tableau dashboard that I built and I was wondering how I convert the data in the same way. I am trying it through the custom column in Power Bi. My calculation in Tableau ...
  • Anonymous's avatar
    Anonymous
    4 years ago

    Anonymous 

     

    Try create this using dax with calculate column:

     

    CONCATENATE(SUM([Total Display Time])/86400,
    CONCATENATE("Days"
    CONCATENATE(IF(SUM([Total Display Time])/86400/3600<10,"0",""),
    CONCATENATE("Hours",
    CONCATENATE(IF(SUM([Total Display Time])/3600/60<10,"0",""),
    CONCATENATE("Minutes",
    CONCATENATE(IF(SUM([Total Display Time])/3600/60<10,"0",""),
    CONCATENATE(SUM([Total Display Time]) /3600/60), "Seconds"))))))))
     
     
    Paul Zheng _ Community Support Team
    If this post helps, please Accept it as the solution to help the other members find it more quickly.