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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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.
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.

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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