cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Yrstruly2021
Helper IV
Helper IV

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 IV
Helper IV

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 IV
Helper IV

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 IV
Helper IV

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
Super User
Super User

@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
August 2022 update 768x460.jpg

Check it Out!

Click here to learn more about the August 2022 updates!

August 1 episode 9_no_dates 768x460.jpg

The Power BI Community Show

Watch the playback when Priya Sathy and Charles Webb discuss Datamarts! Kelly also shares Power BI Community updates.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Top Solution Authors
Top Kudoed Authors