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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
22LACMT
Helper III
Helper III

Dax expression

im trying to filter the pd column to only include data that is >=11 and <=15  

my expression isn't working.  Any ideas what im doing wrong? 

 

CriticizedPD11_15 = (FILTER('percent','percent'[PDGrade] >= 11), FILTER('percent','percent'[PDGrade] >= 15))

 

22LACMT_0-1667846373856.png

 

1 ACCEPTED SOLUTION

For a column you can do something like:

CriticizedPD11_15 =
VAR _PDGrade =
    'percent'[PDGrade]
RETURN
IF(
    _PDGrade >= 199 && _PDGrade <= 205,
    'percent'[YourRanking],
    BLANK()
)

 

View solution in original post

5 REPLIES 5
PabloDeheza
Solution Sage
Solution Sage

Hi @22LACMT !
Your filter statement should be like this:

FILTER(
    'percent',
    'percent'[PDGrade] >= 11
        && 'percent'[PDGrade] >= 15
)

Let me know if that helps!

Thank you for the help. I tryied this : 

CriticizedPD11_15 = FILTER(
'percent',
'percent'[PDGrade] >= 11
&& 'percent'[PDGrade] >= 15
)             --- this is still throwing errors.  Do you know why? 

What is the requirement exactly? Are you trying to create a measure or a column? Are you trying to filter the table to load less data?
Let me know so I can help you more efficiently.

Thanks!

The goal is to create a column that only showes rankings that are 11- 15  for a specific asset type.  ex permanent exposure showes x% of the portfolio 11 - 15.  

For a column you can do something like:

CriticizedPD11_15 =
VAR _PDGrade =
    'percent'[PDGrade]
RETURN
IF(
    _PDGrade >= 199 && _PDGrade <= 205,
    'percent'[YourRanking],
    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!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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
Top Kudoed Authors