This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowThe Fabric community is upgrading! Read all of the details including the timeline and what you can expect. Learn more
Hi there,
I am trying to create a measure that averages a measure I currently use.
Existing
Solved! Go to Solution.
@Anonymous does this work?
measure =
AVERAGEX ( ADDCOLUMNS ( tbl, "test", [existingMeasure] ), [test] )
avg of measure =
AVERAGEX (
LH_Warranty,
LH_Warranty[Rebate Value] + LH_Warranty[other column Value]
)
Proud to be a Super User!
@Anonymous does this work?
measure =
AVERAGEX ( ADDCOLUMNS ( tbl, "test", [existingMeasure] ), [test] )
Hi @smpa01 I've tried but returns blanks
AVERAGEX(ADDCOLUMNS('Measures (2)',"Margin Average",[Total Margin]), [Margin Average])
Hi @smpa01 I've tried but returns blanks
AVERAGEX(ADDCOLUMNS('Measures (2)',"Margin Average",[Total Margin]), [Margin Average])
@Anonymous what is
'Measures (2)'
Ah apologies, I have amended it to relate to the main table where the data is. Thanks!
Just a table I have my Measures in
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 27 | |
| 22 | |
| 20 | |
| 18 | |
| 14 |
| User | Count |
|---|---|
| 25 | |
| 20 | |
| 20 | |
| 20 | |
| 20 |