Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
I want to add a calculated value to the selected row in the selected column.
I have this table:
Now i want to add averages in this table.
So in row 1 column 2 i need AVERAGE(calctable[bodycomp1])
row 2 column 2 AVERAGE(calctable[cardio1])
and so on....
Hi @DionTN ,
Have you a sanitised version of the raw data you can share?
Did I help you today? Please accept my solution and hit the Kudos button.
https://drive.google.com/file/d/1MBudlc3W-DeyjOsN5TUtxMIvyWmIrgRw/view?usp=sharing
@davehus Usually i have a SQL connection, this is a export file. It needs to be a calculated field cause of changing filters. (CompanyID and appointment ID)
Hi @DionTN ,
As checked your shared csv file, there are mulitple fields there. Which value field do you want to get the average value? Could you please give some special examples to explain your final expected result? Thank you.
If you want to get the average values, you can refer the following links to get it.
Avg Dist =
IF (
NOT ( ISBLANK ( 'Table'[Distance] ) ),
CALCULATE ( AVERAGE ( 'Table'[Distance] ), ALLSELECTED ( 'Table' ) )
)
User | Count |
---|---|
84 | |
77 | |
75 | |
43 | |
36 |
User | Count |
---|---|
109 | |
56 | |
52 | |
45 | |
43 |