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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Lily36876
Helper II
Helper II

SELECTEDVALUE Using Question

Hi Experts

 

I have encountered a problem. Each of my brands has a Review Threshold.

If the performance achievement rate of a brand exceeds this Review Threshold, a review needs to be shown.

However, with the current formula I'm using and after adding fields into a matrix, I'm facing this issue.

Each brand is displaying Review Thresholds that do not belong to them.

Lily36876_0-1713435362089.png


My dax using below

Threshold = IF(SELECTEDVALUE('Brand Review Threshold'[Review Threshold])=BLANK(),"",IF(OR('Date'[SalesTargetAchv%]<1-
SELECTEDVALUE('Brand Review Threshold'[Review Threshold]),SELECTEDVALUE('Brand Review Threshold'[Review Threshold])>1+
SELECTEDVALUE('Brand Review Threshold'[Review Threshold])),"Review",""))

 

Is it not feasible to useSELECTEDVALUE?

2 REPLIES 2
amitchandak
Super User
Super User

@Lily36876 , if Review Threshold is a measure then selectedvalue or max is not needed. Try with max if this is a column

 

IF(Max('Brand Review Threshold'[Review Threshold])=BLANK(),"",IF(OR('Date'[SalesTargetAchv%]<1-
Max('Brand Review Threshold'[Review Threshold]),Max('Brand Review Threshold'[Review Threshold])>1+
Max('Brand Review Threshold'[Review Threshold])),"Review",""))

Hello!!

Thanks for reply,

but I think it should be a measure?

because I can't create this column in connect table.

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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