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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Lily36876
Helper I
Helper I

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.