Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi Community,
I have following two tables, relationship from Log to Data is Many to one.
Log:
Data:
I want to create a measure (not column) in either of the tables, that picks the corresponding date of an ID that has new Value = Pass, else blank.
Here is the sample pbi file: Test measure.pbix
Solved! Go to Solution.
Hi,
I am not sure if I understood your question correctly, but please check the below picture and the attached pbix file.
expected result measure: =
VAR _condition =
COUNTROWS ( FILTER ( 'Log', 'Log'[new value] = "Pass" ) ) <> 0
RETURN
IF ( _condition && HASONEVALUE ( Data[ID] ), "Pass" )
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Hi,
I am not sure if I understood your question correctly, but please check the below picture and the attached pbix file.
expected result measure: =
VAR _condition =
COUNTROWS ( FILTER ( 'Log', 'Log'[new value] = "Pass" ) ) <> 0
RETURN
IF ( _condition && HASONEVALUE ( Data[ID] ), "Pass" )
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
113 | |
94 | |
88 | |
35 | |
32 |
User | Count |
---|---|
153 | |
101 | |
82 | |
63 | |
52 |