Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago
Solved

Need help with DAX

Hi all , I'm unable to get the logic to implement in DAX for one of the queries that I have.  Scenario: I've 3 columns namely "Report_Name", "User_List" and "User_status". if a report is shar...
  • Daniel29195's avatar
    2 years ago

    Anonymous 

    output

    Column = 
    var r = Table2[Report_Name]
    
    var f= 
    
    FILTER(
        Table2,
        Table2[Report_Name] = r && Table2[User_status] = "Active"
    )
    
    return
    IF(ISEMPTY(f),"Delete","Retain")

     

    let me know if this works. 

     

     

    If my answer helped sort things out for you, i would appreciate a thumbs up πŸ‘ and mark it as the solution βœ…
    It makes a difference and might help someone else too. Thanks for spreading the good vibes! πŸ€