Forum Discussion
Measure text string
How do I calculate a measure of a text column?
Calculated Column:
- Anonymous5 years ago
Hi Anonymous,
Current power bi data model table not support duration types. According to your description and snapshot, it seems like you convert these value to text type to keeping the format.
For this scenario, these values are stored as text and you can't use common math aggregation functions on it. I'd like to suggest you convert them to total seconds instead.Regards,
Xiaoxin Sheng
2 Replies
- selimovdMost Valuable Professional
Hey Anonymous ,
you cannot use an average for a text colum.
But you could use MAX('Table'[Reply time cal. hours]) to give back a text.
If you need any help please let me know.If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍Best regardsDenisBlog: WhatTheFact.biFollow me: twitter.com/DenSelimovic - AnonymousNot applicable
Hi Anonymous,
Current power bi data model table not support duration types. According to your description and snapshot, it seems like you convert these value to text type to keeping the format.
For this scenario, these values are stored as text and you can't use common math aggregation functions on it. I'd like to suggest you convert them to total seconds instead.Regards,
Xiaoxin Sheng