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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply

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.

 

Schema.png

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.

 

 

 

 

1 REPLY 1
v-shex-msft
Community Support
Community Support

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.

 

Regards,

Xiaoxin sheng

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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.