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
jimpatel
Helper V
Helper V

DAX formula

Hi

 

Thanks for looking at my post.

 

I am using below DAX code what should i do please to get information from same table and from same column please. That is i have attached an example "Modified status" which will look for material in the same column (it will be more than 2 in some cases) and if the match found then if "Status" is "Yes" for any of the matched part then "Modified status" will be yes for that part number please. 

 

Any idea pleasE? got stuck with this for ages : (

 

Column1 =
IF (
ISEMPTY (
FILTER (
'Table1',
'Table1'[Material]= 'Table2'[Material 2]
&& 'Table1'[status] = "Yes"
)
),
"NO",
"YES"
)
 
jimpatel_0-1665060582295.png

 

 
1 ACCEPTED SOLUTION
v-rongtiep-msft
Community Support
Community Support

Hi @jimpatel , 

I have created a simple sample, please refer to it to see if it helps you.

Create a measure.

 

_1=CALCULATE(MAX('Table'[status]),FILTER(ALL('Table'),'Table'[material]=SELECTEDVALUE('Table'[material])))

 

vpollymsft_0-1665109357182.png

If I have misunderstood your meaning, please provide more details with your desired output and pbix file without privacy information .

 

Best Regards

Community Support Team _ Polly

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-rongtiep-msft
Community Support
Community Support

Hi @jimpatel , 

I have created a simple sample, please refer to it to see if it helps you.

Create a measure.

 

_1=CALCULATE(MAX('Table'[status]),FILTER(ALL('Table'),'Table'[material]=SELECTEDVALUE('Table'[material])))

 

vpollymsft_0-1665109357182.png

If I have misunderstood your meaning, please provide more details with your desired output and pbix file without privacy information .

 

Best Regards

Community Support Team _ Polly

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

This is what exatly i am looking for.

 

Thanks a lot for your time and input 

 

Jim

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.

Top Solution Authors