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.
Good morning
I need to create two column charts that show a line with the average value.
I took the measurement by calculating the average and when I made the first graph everything went fine. But in the second, no.
The value to be shown is the same as the first graph. In the second graph it is not only showing the wrong value, but it is also changing. The value should be the same as it is the average.
Could anyone help me with how to resolve this?
Solved! Go to Solution.
Hi @rafamorim87 ,
Based on my testing, please try the following methods:
1.Create the simple table.
2.Drag the Day field into the line and column chart X-axis. Drag the income into the Y-axis.
3.Create the measure to calculate the average.
Dias =
var total_ = CALCULATE(SUM('Table'[Income]), ALL('Table'))
RETURN
DIVIDE(total_, 7)
4.Drag the measure into the visual, 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 @rafamorim87 ,
Based on my testing, please try the following methods:
1.Create the simple table.
2.Drag the Day field into the line and column chart X-axis. Drag the income into the Y-axis.
3.Create the measure to calculate the average.
Dias =
var total_ = CALCULATE(SUM('Table'[Income]), ALL('Table'))
RETURN
DIVIDE(total_, 7)
4.Drag the measure into the visual, 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.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
81 | |
75 | |
60 | |
37 | |
33 |
User | Count |
---|---|
102 | |
56 | |
52 | |
46 | |
40 |