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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Kayla_Xue
New Member

column value filter

Hi everyone,

 

I am new to PowerBI. I am trying to create two filters to allow the chart to switch between top2 shares and top3 shares value. I am currently have charts below with top 2 shares as 'value'. I created top 2 and top3 shares as measuremnet value. how do I custom the data to make the charts to be able to switch back and force between top 2 and top3 share value? Thanks in advance

1 ACCEPTED SOLUTION

Hi @Kayla_Xue ,

I created a sample. You could reference it to have a try. Please follow the steps.

  • Create a new irrelated table manually and use the column as a slicer.

3.PNG

  • Create a measure and drag it into the chart.

 

Measure = 
var a = SELECTEDVALUE('Filter Table'[Column1])
return
IF(ISFILTERED('Filter Table'[Column1]),IF(a= "Top 2",[Top 2],[Top 3]),BLANK())

 

4.PNG5.PNG

Note:  The measures of "Top 2" and "Top 3" are just sample. They are not really top values. Please change them to your own measures.

 

Best Regards,

Xue Ding

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

Best Regards,
Xue Ding
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
Kayla_Xue
New Member

this is the chart in case you guys cant see it

chart.PNG

Hi @Kayla_Xue ,

I created a sample. You could reference it to have a try. Please follow the steps.

  • Create a new irrelated table manually and use the column as a slicer.

3.PNG

  • Create a measure and drag it into the chart.

 

Measure = 
var a = SELECTEDVALUE('Filter Table'[Column1])
return
IF(ISFILTERED('Filter Table'[Column1]),IF(a= "Top 2",[Top 2],[Top 3]),BLANK())

 

4.PNG5.PNG

Note:  The measures of "Top 2" and "Top 3" are just sample. They are not really top values. Please change them to your own measures.

 

Best Regards,

Xue Ding

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

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

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.