Forum Discussion
Multiple date fields in Power BI
Hi
I wish to show both a transaction date and an invoice date column against some spend data. I have the spend data, along with invoice date key and transaction date key in one table which has a relationship to the date table via a date key. I am told that I can use the date key to connect to both the invoice date key and transaction date key but I need to do this simultaneously to show the two columns simultaneously, I believe.
I've been told to create a new relationship between the two tables using the invoice date key and the date key, make it inactive, then create a measure using sum(spend) and userelationship() with the new relationship but couldn't get this to produce meaningful results.
Any advice would be very helpful!
8 Replies
- exoticdiseaseRegular Visitor
These are the two tables in question with the fields and relationship visible.
- exoticdiseaseRegular Visitor
Noone can help? I just want three columns - invoice date, transaction date and spend... in my head, it should be easy! Each invoice has one invoice date and one transaction date (e.g. paid date) so there's no issue with many to many relationships or anything...
Thanks
Rob
- v-jiascu-msftMicrosoft Employee