Showing results for 
Search instead for 
Did you mean: 
matthew_hampton Frequent Visitor
Frequent Visitor

Help With Formulas on Tables Related to Calendar Table

Hello - Still a novice when it comes to PowerBI and how to handle relationships and such.


I have four tables set up with the star schema using a caledar table as the center where Gross Adds, Address Attributes and DM Campaign Raw data are all related back to a date.



I am trying to do two things and cannot seem to figure them out - 


1. I want to calculate the difference between a date on table Gross Adds and table DAW Address Attributes using key ServiceAddressID


2. I want to see if an event in table Gross Adds occured between two dates in table DM Campaign Data using key ServiceAddressID


Any help is appreciated.





Community Support Team
Community Support Team

Re: Help With Formulas on Tables Related to Calendar Table

HI @matthew_hampton,


Your relationship seems useless, all tables use calendar date as the relationship to link each other.(one to many relationship)

I can't find the accurate record mapping, so it is impossible to get datediff between different tables through serviceAddressid.



Xiaoxin sheng

Community Support Team _ Xiaoxin Sheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

For learning resources/Release notes, please visit: | |

Helpful resources

Back to School Contest

Back to School Contest

Engage and empower students with Power BI!

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Summit Australia 2019

Summit Australia 2019

Travel to Melbourne and network with thousands of peers!

PBI Community Highlights

PBI Community Highlights

Check out what's new in the Power BI Community!

Top Ideas
Users Online
Currently online: 42 members 977 guests
Please welcome our newest community members: