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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.