The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi @Yosinator
Do you work with other measures and do you use filters?
Pleae try the following:
Average =
CALCULATE(
AVERAGE(TableValue[ColumnWithValue]),
ALL(TableXAxis[ColumnOnXAxis)
)
or
Average =
CALCULATE(
AVERAGE(TableValue[ColumnWithValue]),
ALLSELECTED(TableXAxis[ColumnOnXAxis)
)
or if you already work with measures and you want to put the average on top:
Average =
CALCULATE(
AVERAGEX(
VALUES(TableXAxis[ColumnonXAxis]),
CALCULATE(
[Measure]
)
)
ALLSELECTED(TableXAxis[ColumnOnXAxis)
)
WIth a little bit more context (data model, measures used as well as filters used) I would be able to give a more specific answer.
Best regards
Michael
-----------------------------------------------------
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. Appreciate your thumbs up!
@ me in replies or I'll lose your thread.
-----------------------------------------------------
Hi @Yosinator
Do you work with other measures and do you use filters?
Pleae try the following:
Average =
CALCULATE(
AVERAGE(TableValue[ColumnWithValue]),
ALL(TableXAxis[ColumnOnXAxis)
)
or
Average =
CALCULATE(
AVERAGE(TableValue[ColumnWithValue]),
ALLSELECTED(TableXAxis[ColumnOnXAxis)
)
or if you already work with measures and you want to put the average on top:
Average =
CALCULATE(
AVERAGEX(
VALUES(TableXAxis[ColumnonXAxis]),
CALCULATE(
[Measure]
)
)
ALLSELECTED(TableXAxis[ColumnOnXAxis)
)
WIth a little bit more context (data model, measures used as well as filters used) I would be able to give a more specific answer.
Best regards
Michael
-----------------------------------------------------
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. Appreciate your thumbs up!
@ me in replies or I'll lose your thread.
-----------------------------------------------------