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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

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