Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
azaterol
Helper V
Helper V

Sum from line diagram

Hey all,

 

is it possible in the line diagramm to show in the quickinfo the sum of the sells day by day from each employee together?

Like here under Ana should be the total: 1425,48 €   

line.PNG

 

Thank you

1 ACCEPTED SOLUTION

Use ALLSELECTED in stead of ALL

View solution in original post

4 REPLIES 4
NickolajJessen
Solution Sage
Solution Sage

NickolajJessen_0-1660120682068.png

 

@NickolajJessen  , what If I got an selection checkbox where I can check employees.

Like:


selection.PNG

Your result always gives me the final result from all of the employees.

It should only count these together which are selected.

sum = 
calculate(
sum('Table (2)'[Amoubt]),
ALL('Table (2)'[Name])
)

 An idea how I can modify your code? Thank you.

 

Use ALLSELECTED in stead of ALL

@NickolajJessen thank you! Works great!

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

May 2025 Monthly Update

Fabric Community Update - May 2025

Find out what's new and trending in the Fabric community.