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

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.

Reply
JohnGray
Helper I
Helper I

Best way to separate out control values?

Hello All,

 

I am building a modeling set based off of some particular run metrics. Each run has samples with unique IDs, but every run also has both a positive and negative control on it, named as PositiveControl and NegativeControl, respectively, in each run (pretty much always the same name). 

I need to be able to create a report that is able to link to tables together, "A Metrics" and "B Metrics". However, I run into the error below when trying to apply changes. To reiterate, the relationships between A Metrics and B Metrics is set to a cardinality of 1:1, Cross filter direction of "Both".
Is there a way to have the relationship work around these duplicate names? I think going forward I will tyr to make sure the positive/negative controls have dates after their names, but is there a way to relate these runs with how the data is currently? 
Metrics Error.png

2 REPLIES 2
johnt75
Super User
Super User

In Power Query select the down arrow next to the Sample ID column header and untick both control values. These will then be excluded from the data load and will allow you to create the relationship, as long as there no other duplicate values

Hello John,

 

Thank you for your reply. I should have mentioned it in the original post, but I do actually need the Positve/Negative controls to appear in the data, as these are metrics we need to track as well. 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors