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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
AmandaCarriveau
Frequent Visitor

Need to apply a nested filter to a table visual

I am connected live to a Power BI semantic model. So I can't create a new column etc. I am trying to write a DAX measure that will allow me to filter a table visual. The model includes a field called RPN which displays a number (1-70) and field called Level which displays one of four names (low, medium, high, TBD). I need to filter my table visual to only show results where RPN is >30 -OR- RPN is less than or equal to 30 and Level is medium or high. Any suggestions?

1 ACCEPTED SOLUTION

Amanda,

 

Honestly, this would ideally be done upstream anyway. I know you said you couldn't modify the model yourself. However, is it possible to ask whoever has control over the data source itself to add in that filter as a column for you?


----------------------------------
If this post helps, please consider accepting it as the solution to help other members find it quickly. Also, don't forget to hit that thumbs up and subscribe! (Oh, uh, wrong platform?)




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

5 REPLIES 5
AmandaCarriveau
Frequent Visitor

Thanks! But when I tried this, I got the "Visual has exceeded the available resources" error.

Amanda,

 

Honestly, this would ideally be done upstream anyway. I know you said you couldn't modify the model yourself. However, is it possible to ask whoever has control over the data source itself to add in that filter as a column for you?


----------------------------------
If this post helps, please consider accepting it as the solution to help other members find it quickly. Also, don't forget to hit that thumbs up and subscribe! (Oh, uh, wrong platform?)




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Yep, I can, was just hoping I could do it myself, thanks for the suggestion!

I hear you, sometimes it's necessary. However, performance tends to be better the closer to the data source you can do the transformation. 😄




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Wilson_
Super User
Super User

Hi Amanda,

 

You can create a measure like:

 

Table Visual Filter =
VAR SelRPN = SELECTEDVALUE ( Table[RPN] )
VAR SelLevel = SELECTEDVALUE ( Table[Level] )
VAR Result = SelRPN > 30 || ( SelRPN <= 30 && SelLevel IN { "Medium", "High" } )

RETURN FORMAT ( Result, "" ) -- converts True/False to text

 

 

Then in your table visual, you can add the measure as a filter and filter for Table Visual Filter is True.


----------------------------------
If this post helps, please consider accepting it as the solution to help other members find it quickly. Also, don't forget to hit that thumbs up and subscribe! (Oh, uh, wrong platform?)




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors