1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Power BI DAX Query

Discussion in 'Business Applications' started by snoozee, Aug 15, 2019.

Thread Status:
Not open for further replies.
  1. snoozee

    snoozee It's My Birthday! Thread Starter

    Joined:
    Apr 10, 2006
    Messages:
    264
    Hi

    I'm not sure if what i need is even possible in Power BI as I've only just started using it.

    I need a DAX query that would do the following.

    If "AA"=Yes then check the Checked By column then check the Completed By and see if the name appears over the past 5 days, if so the query outcome would be "True" otherwise "False"

    Example

    05/07/19
    "AA" = Yes, "Checked By" = Don, as Don's name doesn't appear in the "Completed By' column over the previous 5 days then the out come would be "False"

    12/07/19
    "AA" = Yes, "Checked By" = Don, as Don's name does appear in the "Completed By' column over the previous 5 days then the out come would be "True"

    Date AA Completed By Checked By
    2/07/19 No Vera Don
    3/07/19 No Vera Don
    4/07/19 No Vera Don
    5/07/19 Yes Jess Don
    8/07/19 No Don Amabelle
    9/07/19 No Don Vera
    10/07/19 No Don Jess
    11/07/19 No Jess Don
    12/07/19 Yes Jess Don
    15/07/19 No Lauren Amabelle

    Any help would be greatly appreciated :)
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/1231546

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice