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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
swindhorst
Frequent Visitor

Measure created with FILTER in line chart does not filter table

I have a line chart that is plotting 3 measures.   Each measure is filtered based on "Type" in the underlying data set.

 

  • MeasureA = DIVIDE(CALCULATE(DISTINCTCOUNT('CloseTable'[Logo]),filter('CloseTable','CloseTable'[Type]="A")),CALCULATE(DISTINCTCOUNT('AllTable'[Logo]),filter('AllTable','AllTable'[Type]="A")))
  • MeasureB = DIVIDE(CALCULATE(DISTINCTCOUNT('CloseTable'[Logo]),filter('CloseTable','CloseTable'[Type]="B")),CALCULATE(DISTINCTCOUNT('AllTable'[Logo]),filter('AllTable','AllTable'[Type]="B")))
  • MeasureC = DIVIDE(CALCULATE(DISTINCTCOUNT('CloseTable'[Logo]),filter('CloseTable','CloseTable'[Type]="C")),CALCULATE(DISTINCTCOUNT('AllTable'[Logo]),filter('AllTable','AllTable'[Type]="C")))

Under the line chart I have a table with columns from the CloseTable dataset.   My expected result is to have the table filtered by Type when I click on a data point in the line chart.   Right now, no filtering in the table occurrs when I interact with the line chart.  Interactions are set between line chart and table.

 

Is it possible to filter another visual based on the filters contained in a measure?

1 REPLY 1
Anonymous
Not applicable

Hi @swindhorst,

Visual interaction is based on fields that aggregated in current row contents. When you activate a chart, power bi will try to find out the current category data label and use it to interact with other visuals through current relationship key field.

Did these tables contain relationships? If not, power bi can't interact with other visuals based on the current chart data category label.

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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