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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
rmcgrath
Advocate II
Advocate II

Need help with a data model relationship

I am pulling in a table that has unique account numbers.  And then I am also pulling in PDF electricity invoices.  The invoices have meter numbers.  The issue I am having is (1) meter number might be assigned to multiple account numbers.  How do I handle this in the data model?

ConcatAccountMeterNumberPercentageSort
70-034-6800-100KZD866149170.362
70-062-6800-601KZD866149140.55
70-062-6800-602KZD866149140.56
70-070-6800-100KZD866149170.283
70-010-6800-100KZD866149170.361
70-062-6800-603KZD9663276717
70-030-6800-1001ND7810566714

 

 

 

Sample of the table from the invoices:

April 2024 Services.pdfMeter#Dates_FromDates_ToReads_FromReads_ToUsageMultiplierUsedUnitsEstimateUsed_NEWPercentageUsed_FINAL
April 2024 Services.pdfKZD866149174/2/20245/2/20241780.5621851.64471.0812100149,270.940KVRNo149270.10.3653737.236
April 2024 Services.pdfKZD866149174/2/20245/2/20241780.5621851.64471.0812100149,270.940KVRNo149270.10.2841795.628
Aug services2024.pdf1ND781056678/2/20249/3/2024140379.42141623.1181243.69811,243.699KWHNo1243.69811243.698
May Services 2024.pdf1ND781056675/2/20246/4/2024137288.869138229.049940.181940.185KWHNo940.181940.18
Oct 2024 Services.pdfKZD9663276710/20/202410/20/2024null79.36null179.360KWNo79.36179.36
Sept Services 2024.pdfKZD966327679/3/202410/2/20241948.452075.936127.48520025,497.100KWHNo25497125497

 

1 ACCEPTED SOLUTION
Greg_Deckler
Community Champion
Community Champion

@rmcgrath Power BI supports many-to-many relationships or you could use a bridge table with distinct meter #'s.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

2 REPLIES 2
Greg_Deckler
Community Champion
Community Champion

@rmcgrath Power BI supports many-to-many relationships or you could use a bridge table with distinct meter #'s.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

A bridge table!  I did not think of that...thank you!!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.