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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

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",""))

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

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