cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

Lump values not selected in slicer

Hi All,

 

I have a table with "Sales Person Name" column and "Total Sale" and other relevant data, like product, city, etc. I've added a slicer to analyse the performance by "Sales Person Name", however I would like to have another visual that would lump sum all other sales by other employees so I would be able to compare his performance with other employees average.

I know that slicer doesn't let us do dynamic calculation, so I would need to create some measures, however I'm new to power bi and don't know how to solve this issue.

 

Any suggestion on how to do that?

 

Thank you very much!

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Lump values not selected in slicer

Hi @stissot ,

 

You may try to create measures like DAX below, you can put measure Average Sale into Card visual to as performance benchmark.

 

Total sale per Sales Person= CALCULATE(SUM(Table1[sale]),FILTER(ALLSELECTED(Table1), Table1[Sales Person Name] =MAX(Table1[Sales Person Name])))
 
Average Sale= AVERAGE(Table1[sale])

Best Regards,

Amy

 

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

View solution in original post

2 REPLIES 2
Highlighted
Community Support
Community Support

Re: Lump values not selected in slicer

Hi @stissot ,

 

You may try to create measures like DAX below, you can put measure Average Sale into Card visual to as performance benchmark.

 

Total sale per Sales Person= CALCULATE(SUM(Table1[sale]),FILTER(ALLSELECTED(Table1), Table1[Sales Person Name] =MAX(Table1[Sales Person Name])))
 
Average Sale= AVERAGE(Table1[sale])

Best Regards,

Amy

 

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

View solution in original post

Highlighted
Community Support
Community Support

Re: Lump values not selected in slicer

Hi  @stissot ,

 

Does that make sense? If so, kindly mark my answer as a solution to help others having the similar issue and close the case. If not, let me know and I'll try to help you further.

 

Best regards

Amy

Helpful resources

Announcements
May 2020 Community Highlights

May 2020 Community Highlights

It’s time for another PBI Community recap!

Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Using the Community

Using the Community

Need help with the Power BI Community? Our 'Using the Community' support articles are a great place to start.

Galleries

Galleries

Looking for inspiration on how to present your data? Need instructional videos? Check out our Galleries!

Top Solution Authors
Top Kudoed Authors