cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
vjnvinod
Impactful Individual
Impactful Individual

Dax help

Hi,

 

I have 2 tables

GDS TNR data

Portfolio FY22

 

I am using the below dax to get the name from TNR data,

 

Name modified = LOOKUPVALUE('Portfolio report FY22'[Engagement Partner],'Portfolio report FY22'[Engagement ID],'GDS TNR Data'[EngID],"")
 

But in TNR Data I have a column called "Visible data, which has the value (True, False)

before the above function does a Lookup, it needs to filter the data which is "True" using the Visible Data column

 

and the tables are not connected as well

 

How to achieve this?

 
1 ACCEPTED SOLUTION
Samarth_18
Community Champion
Community Champion

Hi @vjnvinod ,

 

You can try like this:-

Column =
CALCULATE (
    MAX ( 'Portfolio report FY22'[Engagement Partner] ),
    FILTER (
        'Portfolio report FY22',
        'Portfolio report FY22'[Engagement ID] = 'GDS TNR Data'[EngID]
            && 'GDS TNR Data'[EngID] = TRUE()
    )
)

If its not worked then please share the sample data with expected output 🙂

 

Thanks,

Samarth 

Best Regards,
Samarth

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin

View solution in original post

4 REPLIES 4
Samarth_18
Community Champion
Community Champion

Hi @vjnvinod ,

 

You can try like this:-

Column =
CALCULATE (
    MAX ( 'Portfolio report FY22'[Engagement Partner] ),
    FILTER (
        'Portfolio report FY22',
        'Portfolio report FY22'[Engagement ID] = 'GDS TNR Data'[EngID]
            && 'GDS TNR Data'[EngID] = TRUE()
    )
)

If its not worked then please share the sample data with expected output 🙂

 

Thanks,

Samarth 

Best Regards,
Samarth

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin

moizsherwani
Continued Contributor
Continued Contributor

@vjnvinod if you are getting the name from the GDS TNR Data can you please tell me why you have the "Result ColunmName" which is the first parameter of the LOOKUPVALUE function "Engagement Partner" from the "Portflolio FY22 Table? From the formula is seems like you are looking up data from Portfolio FY22 and pulling it into the GDS TNR Data table

Thanks,

Moiz
Was I able to answer your question? Mark my post as a solution to help others. Kudos if you liked the solution.
Proud to be a Super User!
vjnvinod
Impactful Individual
Impactful Individual

I tried

something like below, but its throwing error

vjnvinod_0-1646290255496.png

 

@vjnvinod the solution provided by @Samarth_18 is what I would recommend too

Thanks,

Moiz
Was I able to answer your question? Mark my post as a solution to help others. Kudos if you liked the solution.
Proud to be a Super User!

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors