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.
Is it possible to show the average over 4 weeks instead of the total (e.g. 99,930 for the first row)?
Solved! Go to Solution.
Hi @EMWDLX ,
Please try the following methods and check if they can solve your problem:
1.Create the simple table.
2.Create the new measure to calculate average.
Average Sales =
var T = SUM('Table'[Sales])
RETURN
IF (
ISINSCOPE ('Table'[week]),
T,
T/4)
3.Drag the measure into the matrix values.
4.Edit the Column subtotal label.
5.The result is shown below.
Best Regards,
Wisdom Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @EMWDLX ,
Please try the following methods and check if they can solve your problem:
1.Create the simple table.
2.Create the new measure to calculate average.
Average Sales =
var T = SUM('Table'[Sales])
RETURN
IF (
ISINSCOPE ('Table'[week]),
T,
T/4)
3.Drag the measure into the matrix values.
4.Edit the Column subtotal label.
5.The result is shown below.
Best Regards,
Wisdom Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@EMWDLX
Try something like:
Sales Amount New =
IF(
ISINSCOPE( financials[week Number]),
[Sales Amount],
AVERAGEX(
VALUES( financials[week Number] ),
[Sales Amount])
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group