Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
8 years ago
Solved

Divide summarized column by another summarized column

Could you please help me out to calculate two summarized columns. I have attached screenshot and pbix file for the same. THank you so much in advance. Since I am very new in powerbi, i couldn't figerout the DAX formulas.

 

https://app.powerbi.com/groups/me/reports/27a39b38-d2ce-4efa-acc5-90c7be2eb65f?ctid=6e747d17-46a5-45d6-824b-c43e958512a2

 

5 Replies

    • Anonymous's avatar
      Anonymous
      Not applicable

      Thank you for pushing me. I saw that post but did not realize this was that easy. Now i am able to calculate the desired column with 

      Avg Stay TIme = 
      DIVIDE(
      	SUM('Sheet1'[Duration Seconds]),
      	DISTINCTCOUNT('Sheet1'[BadgeID])
      )/60

      but how can i concatnate this value that add "minute" with the numeric value i got? 

      • garvicasas's avatar
        garvicasas
        Icon for Helper I rankHelper I

        try modifying the column or adding one with [your result] & 'minute'

         

        the & thing it's like the + in some programming lenguages like java, you can concatenate different values or text