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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
Yrstruly2021
Helper V
Helper V

Relevant Relationships, Data Modeling

@VijayP VijayPHow do i get a relationship between payments and invoice, and dates and dates and payments?

see file: https://drive.google.com/file/d/1CBpFLkw37E5aeYSG9RXMLTzOXUCdcn4m/view?usp=sharing

and holidays and payments: https://twitter.com/DataMozart/status/1376164560055508992/photo/1

@Ashish_Mathur @selimovd @PhilipTreacy

 

2 ACCEPTED SOLUTIONS
Yrstruly2021
Helper V
Helper V

Can you do it please and send me the pbix file?

View solution in original post

Hi @Yrstruly2021 ,

 

I create the model shown in the figure below and get the following data. Does this match the output you want?

 

v-kkf-msft_0-1617074063943.pngv-kkf-msft_1-1617074096970.pngv-kkf-msft_2-1617074120634.png

If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.

Best Regards,
Winniz

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

8 REPLIES 8
Yrstruly2021
Helper V
Helper V

I created relationships to my tables. It does not display when a try and create a visualisation with different measures in powerbi? see: https://drive.google.com/file/d/1CBpFLkw37E5aeYSG9RXMLTzOXUCdcn4m/view?usp=sharing and https://drive.google.com/file/d/1n6oJToedcG0lfh06Xq2RO5j1l-3pUYeR/view?usp=sharing 

Hi @Yrstruly2021 ,

 

I create the model shown in the figure below and get the following data. Does this match the output you want?

 

v-kkf-msft_0-1617074063943.pngv-kkf-msft_1-1617074096970.pngv-kkf-msft_2-1617074120634.png

If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.

Best Regards,
Winniz

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you. It is exactly what i wanted. Will be able to filter by dates any table etc?

Hi @Yrstruly2021 ,

The current date can filter all tables except the CoCodeLookup table. If you want to filter the CoCodeLookup table, you need to change the relationship between the CoCodeLookup table and the Invoice table to Both.

 

Best Regards,
Winniz

Yrstruly2021
Helper V
Helper V

Can you do it please and send me the pbix file?

@Yrstruly2021 

Issue is the data is incomplete, so I suggest you can reconstruct the Data 

e.g.,, I may not be knowing how to related Invoice and Payment Data!




Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
MY Blog || My YouTube Channel || Connect with me on Linkedin || My Latest Data Story - Ageing Analysis

Proud to be a Super User!


Neither do i, its a dummy set data.

VijayP
Community Champion
Community Champion

@Yrstruly2021 

Issue is these tables are not containing a proper look up value (Primary Key) Establish connection.

Invoice and Payments are not talking to each other. we need to bring that and I suggest merging Invoice and Payment together to make that as a single table so that

Date table will be connected to the Fact Table

Then we need not have any relation with PHolidays and even we can create a virtual relationship using TREATAS

will you agree?




Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
MY Blog || My YouTube Channel || Connect with me on Linkedin || My Latest Data Story - Ageing Analysis

Proud to be a Super User!


Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

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.