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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! 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
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors