Forum Discussion
Anonymous
5 years agoNot applicable
Basic stats for a given field
If accessing a database directly, as opposed to via powerbI, I could find info about a given field by running a bit of SQL - for instance: SELECT AVG(field_name) AS averageVal FROM tableName ...
- 5 years ago
Hi Anonymous ,
Modify your measure as below:
Measure = AVERAGEX(ALL('Table'),VALUE('Table'[values]))And you will see:
For the related .pbix file,pls see attached.
Best Regards,
KellyDid I answer your question? Mark my post as a solution!
Anonymous
5 years agoNot applicable
Ah - I think the problem is that though these values are numeric, th data source stores them as strings
Is there a way I can tell powerBI to treat these numeric strings as numbers? Unfortunately I don't think I can change the remote data source....
v-kelly-msft
5 years agoCommunity Support
Hi Anonymous ,
Modify your measure as below:
Measure =
AVERAGEX(ALL('Table'),VALUE('Table'[values]))
And you will see:
For the related .pbix file,pls see attached.
Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!