Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
45 | |
28 | |
21 | |
11 | |
8 |
User | Count |
---|---|
75 | |
51 | |
46 | |
16 | |
12 |