Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello Everyone,
I am trying to create a calculated table with a given logic shown in the pic below
I basically need two lines of true and false in a new table saying if there is any missing or expired then it should be false or else true for the given date and driver.
I would appreciate it if you can help me with this
Thank you in advance.
Solved! Go to Solution.
Hey @Nepal101 ,
from my understanding this measure will return what you are looking for:
Measure =
var check =
COUNTROWS(
FILTER(
VALUES( 'Table'[audit type] )
, 'Table'[audit type] in { "expired" , "missing" }
)
)
return
IF( ISBLANK( check ) , TRUE() , FALSE() )
Regards,
Tom
Hey @Nepal101 ,
from my understanding this measure will return what you are looking for:
Measure =
var check =
COUNTROWS(
FILTER(
VALUES( 'Table'[audit type] )
, 'Table'[audit type] in { "expired" , "missing" }
)
)
return
IF( ISBLANK( check ) , TRUE() , FALSE() )
Regards,
Tom
Hello @TomMartens
Thank you for the reply.
I used that measure but something is not correct. Even if the Audit type key 2 = compliant instead of that giving me true other numbers are also giving me true. Am I missing something here?
I used the same measure.
In the above scenario, for the employee Key 2, we see 2,3,4 as an audit type even if it has 2 this will be false because there is 3 and 4 in there for that employee key. if the audit type was 2 in all the lines then only we could say it is true or else we have to say false.
I would really appreciate if you can help me with this
Thank you once again.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
100 | |
78 | |
76 | |
52 |
User | Count |
---|---|
144 | |
109 | |
108 | |
88 | |
61 |