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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Average of a column in a slicer object

Hi all!

 

I wonder if is possible to put in a slicer average of a column. I have created a measure, but slicer object does not support a measure, only a column, so I cannot apply an average function.

 

Thanks.

1 ACCEPTED SOLUTION

@Anonymous Sorry, Sorry, I didn't understand at first that it was supposed to be a slicer, the first thing you need is to create a calculated table

table_ave = 
 SUMMARIZE('table','table'[Fruit name],"ave",AVERAGE('table'[Value]))

Let's create a relationship between the tables
Screenshot_27.jpg
file attached
Put the values ​​from the second table into the slicer
Screenshot_28.jpg


__________________________________________

Thank you for your like and decision

__________________________________________

Greetings from Ukraine

To help me grow PayPal: embirddima@gmail.com

View solution in original post

5 REPLIES 5
DimaMD
Solution Sage
Solution Sage

@Anonymous  hi, Can you provide your expected result? And fictitious data, in a pbix or excel file


__________________________________________

Thank you for your like and decision

__________________________________________

Greetings from Ukraine

To help me grow PayPal: embirddima@gmail.com
Anonymous
Not applicable

Thanks for your reply.

 

I have the following table:

FinYui8_0-1672750182016.png

 

And I want that slicer shows only the average for each category of fruit, that is, 3, 8 and 5.

 

Thanks a lot!

 

@Anonymous This is what you want
Screenshot_27.jpg


__________________________________________

Thank you for your like and decision

__________________________________________

Greetings from Ukraine

To help me grow PayPal: embirddima@gmail.com
Anonymous
Not applicable

No, I want to put this values in a slicer object. That is, put the measure in a slicer object, but PBI does not support a measure, only a column, so I cannot apply an average function in a slicer object.

@Anonymous Sorry, Sorry, I didn't understand at first that it was supposed to be a slicer, the first thing you need is to create a calculated table

table_ave = 
 SUMMARIZE('table','table'[Fruit name],"ave",AVERAGE('table'[Value]))

Let's create a relationship between the tables
Screenshot_27.jpg
file attached
Put the values ​​from the second table into the slicer
Screenshot_28.jpg


__________________________________________

Thank you for your like and decision

__________________________________________

Greetings from Ukraine

To help me grow PayPal: embirddima@gmail.com

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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