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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
imaindia
New Member

How to make a slicer for parameter which takes on average value of columns

Hi,

 

I am transitioning from Tableau to Powerbi and am stuck on a problem. 

I made a parameter that takes the average values of certain columns to filter visuals.

 

Please have a look at the below pictures to understand better.

I want to replicate the same in Powerbi and cannot do so by making a parameter.

 

This is the KPI Parameter that I created in Tableau

imaindia_0-1691566635647.png

 

How it is applied in creating a chart in Tableau

 

Screenshot 2023-08-09 131134.png

The parameter in action:

imaindia_1-1691566705022.png

imaindia_2-1691566743803.png

 

 

Please help with any hints and suggestions that I can use to resolve this. Currently, this is what I did to replicate:

imaindia_3-1691567031836.png

Not able to take averages here.

4 REPLIES 4
imaindia
New Member

@Mahesh0016 

 

Hey, thank you for your response. I did the same but I need averages of the values that are going to be put as parameter fields. I am not able to do that.

Can you help me in this aspect?

@imaindia You want to select any slicer and that slicer value passes in the parameter? if I am not wrong.

@Mahesh0016 

 

Let me explain a bit more clearly, apologies if I was not clear.

 

I have a dashboard with multiple visuals which are connected to this parameter. So for example

 

imaindia_0-1691740416348.png

 

In this dashboard I want these 2 visuals to be controlled with the help of the parameter selected KPI

for eg when I select numdirectors the average of numdirectors should be taken for the visuals.

similarly when promoters is selected both the visuals now show value with average of promoters.

 

I hope I am able to convey the query clearly now.

Mahesh0016
Super User
Super User

@imaindia  you can go with the field parameter in power bi. for more information please refer below link. Thank YOU!!!
https://youtu.be/-nqEv2YXLsU 

ELSE
Measure = 
SWITCH(

    SELECTEDVALUE(Table[Column]),
    "A",[Measure1],
    "B",[Measure2],
    Blank()
  )

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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