Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

Reply
Quemi
Frequent Visitor

Merging Data but adding Rows based on criteria? Relationship?

Hi - New power query user; I am trying to set up an auto generated output based if a variable meets all specific criteria and if a variable is missing the criteria, then it is flagged. 

 

I have a minimum Required Result listing for each result obtained in a Within Each Group + Timepoint + Fruit). Group + Timepoint + Fruit is a static field (I will always know what results are expected at a minimum) 

My Data is driven by a Unique ID, this Unique ID can change Group + Timepoints + Fruit. 

Desired Output - If my Unique ID + Group + Timepoint + Fruit) is Missing one of the Required Results for that Section1(Group + Timepoint + Fruit) then I want it to Flag by Unique ID what is missing. For example:

For my Mid -Timepoint# 1 , I expect to have Banana and Orange fruits at a minimum. In my Table 2 "Results obtained" results for B1 = Mid -#1, I only have BAnana. 

I want Power query to Flag by Unique ID: B1 - Mid - #1 - Orange - Missing.  True can be for any matching values. 

 

challenge - I have a lot of unique IDs, Merging doesn't pull/ repeat the Unique ID. 

 

Picture1.png

1 REPLY 1
PC2790
Community Champion
Community Champion

Can you elaborate on your requirement. It is a little unclear on what your dataset looks like and with what you want the comparison to happen.

Please refer the below:

https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523#M6071...

 

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.