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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare 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
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

Check out the October 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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