This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. 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.
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 35 | |
| 32 | |
| 27 | |
| 23 | |
| 16 |
| User | Count |
|---|---|
| 65 | |
| 50 | |
| 30 | |
| 25 | |
| 24 |