The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
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.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
122 | |
89 | |
75 | |
55 | |
45 |
User | Count |
---|---|
134 | |
120 | |
76 | |
65 | |
64 |