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

Get Fabric certified for FREE! Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Relationship Needed?

Hi,

 

I currently have a table in my dataset from SQL which has a column named 'RegistrationLog_id', which is for when different companies submit registration details, which can be more than once (i.e. multiple rows of the same company_id but a new log_id).

I am adding a View into the dataset to use for another report, which uses the same table but filters out some companies. The 'RegistrationLog_id' will have the same numbers and rows per company as the current table in the dataset, but would I need a relationship between these tables? Would it be one-to-one? Or possibly bad data modelling? Thank you.

5 REPLIES 5
ToddChitt
Super User
Super User

I would not create a relationship. I would not even add this second table if it is strictly a subset of the first. If you need to create a visual off of it, simply filter the visual (at the visual or page level).

Why have two copies of the data? That's "Department of Redundancy Department" 🙂

 




Did I answer your question? If so, mark my post as a solution. Also consider helping someone else in the forums!

Proud to be a Super User!





ToddChitt
Super User
Super User

Can you show us some sample data? Sounds like Table 2 is simply a subset of Table 1?




Did I answer your question? If so, mark my post as a solution. Also consider helping someone else in the forums!

Proud to be a Super User!





Anonymous
Not applicable

Hi @ToddChitt , sorry I cannot show sample data, but yes the new table is a subset of the original table (almost like a calculated table I believe?) Thanks

Can you MAKE UP something for us to see? Objuscate the crap out of it:

 

Table 1:

Company           Log ID

======            =-===

1                          101

1                          102

 

??




Did I answer your question? If so, mark my post as a solution. Also consider helping someone else in the forums!

Proud to be a Super User!





Anonymous
Not applicable

Hi @ToddChitt, no problem, please see the below.

BotBot1_0-1692103795001.png

It is near enough identical, whereby companies are filtered out for their status, and belonging to a region from another database (right join). The latestreg is just a partition by company id for numbering the latest registrations. I hope this helps, thank you

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.

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 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.