cancel
Showing results for
Did you mean:

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Anonymous
Not applicable

Grand Total line on line chart

Hi, if I have the following graph (see below), with the Axis being the 'Month', and the the Legend being 'Nature of Work. The Value is the formula calculation :

(SUM('ACCURACY_7DAY (2)'[ON_TIME]) / CALCULATE(COUNTA('ACCURACY_7DAY (2)'[ON_TIME]),ALLEXCEPT('ACCURACY_7DAY (2)','ACCURACY_7DAY (2)'[SCHEDULED_FROM_MONTH].[Month],'ACCURACY_7DAY (2)'[NATURE_OF_WORK])))

Does anyone know if it is possible I can produce a grand total line on the line chart, along with the lines split by the Legend?

1 ACCEPTED SOLUTION
Community Support

Hi @Anonymous

Could you tell me if your problem has been solved? If it is, kindly Accept it as the solution. More people will benefit from it. Or you are still confused about it, please provide me with more details about your table and your problem or share me with your pbix file from your Onedrive for Business.

Best Regards,

Rico Zhou

3 REPLIES 3
Community Support

Hi @Anonymous

Could you tell me if your problem has been solved? If it is, kindly Accept it as the solution. More people will benefit from it. Or you are still confused about it, please provide me with more details about your table and your problem or share me with your pbix file from your Onedrive for Business.

Best Regards,

Rico Zhou

Community Support

Hi @Anonymous

Now you seems to build a line visual by Year/Month in Axis , NATURE_OF_WORK in Lengend and the value measure return to percentage in Value.

You want to add an other value into secondary values in your Line chart. And you want the grand total in secondary values to be impacted by Lengend.

Your demand is a good idea, while it is not supported to implement in Power BI currently.
You can vote up this idea for this function:
two values and legend on line chart

Or you can submit a new idea to improve the Power BI.
It is a place for customers provide feedback about Microsoft Office products . What’s more, if a feedback is high voted there by other customers, it will be promising that Microsoft Product Team will take it into consideration when designing the next version in the future.

Best Regards,

Rico Zhou

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Super User

@Anonymous , if you need another line , means on secondary axis that will not split by legend.

You need use a measure like

Calculate([Your meausre], allexcept(Table, Table[Nature of work]))

or