Forum Discussion
IF AND statement from one table to another table
- 5 years ago
Hi, Saxon10
I am not sure if I understood your question correctly, but please check the below picture and the sample pbix file's link down below for creating a new column.
Status CC =VAR conditions =MINX (FILTER (Data,Report[A] <= Data[A]&& Report[B] <= Data[B]&& Report[C] <= Data[C]),Data[A] + Data[B] + Data[C])RETURNIF (CALCULATE (MAX ( Data[STATUS] ),FILTER ( data, Data[A] + Data[B] + Data[C] = conditions ))= BLANK (),"X",CALCULATE (MAX ( Data[STATUS] ),FILTER ( data, Data[A] + Data[B] + Data[C] = conditions )))Hi, My name is Jihwan Kim.
If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.
Linkedin: linkedin.com/in/jihwankim1975/
Twitter: twitter.com/Jihwan_JHKIM
Saxon10
Correct me if I am wrong,. in your Excel formula, The values in row one in the Report Table (250,250,160) are all less than their respective columns in Data Table on both KPI and KPI-1, but you show only KPI as the result where as KPI-1 is also true.
Please clarify.
- Saxon105 years ago
Post Prodigy
Thanks for your reply. You are right and that's ture. I am taking which one is match first incidence. Is there any option in power bi how can I exact match (appropriate) respective columns in Data Table on both KPI and KPI-1 columns.
Can you please advise.