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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
Anonymous
Not applicable

Filtering Chart by two values

Hello Folks.

 

I'm trying to filter a chart by two values.

teste.PNG

 

Rules: If actual velocity projection is greater than total stories then i won't show others sprints

 

Can anyone help me? Is that possible?

 

TY guys

1 ACCEPTED SOLUTION
d_gosbell
Super User
Super User

I think you will have to do this by creating 2 new measures for your chart. For the Total Stories measure the "trick" is to return the value of the base [Total Stories] measure if we are looking at only one sprint and the value of Total Stories is greater than the actual velocity projection

 

Total Stories for Chart = IF( HASONEVALUE( 'Sprint Table'[Sprint Name] )
, IF( [Total Stories] > [Actual Velocity Projection], [Total Stories] , BLANK() )
, [Total Stories])

For the velocity you'd follow a similar pattern, just check if the velocity is less than the total stories, otherwise return blank.

Actual Velocity Projection for Chart = IF( HASONEVALUE( 'Sprint Table'[Sprint Name] )
, IF( [Actual Velocity Projection] < [Total Stories], [Actual Velocity Projection] , BLANK() )
, [Actual Velocity Projection])

View solution in original post

1 REPLY 1
d_gosbell
Super User
Super User

I think you will have to do this by creating 2 new measures for your chart. For the Total Stories measure the "trick" is to return the value of the base [Total Stories] measure if we are looking at only one sprint and the value of Total Stories is greater than the actual velocity projection

 

Total Stories for Chart = IF( HASONEVALUE( 'Sprint Table'[Sprint Name] )
, IF( [Total Stories] > [Actual Velocity Projection], [Total Stories] , BLANK() )
, [Total Stories])

For the velocity you'd follow a similar pattern, just check if the velocity is less than the total stories, otherwise return blank.

Actual Velocity Projection for Chart = IF( HASONEVALUE( 'Sprint Table'[Sprint Name] )
, IF( [Actual Velocity Projection] < [Total Stories], [Actual Velocity Projection] , BLANK() )
, [Actual Velocity Projection])

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.