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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
JemmaD
Helper V
Helper V

How to display inactive date in a table

I have a fact table with two dateids: INCEPTIONDATEID and EXPIRYDATEID
These are not dates but numerical columns.

I have a date dimension table with DATEID and a Start of Month column which displays only the month and year of the DATEID

I have an active relationship between INCEPTIONDATEID and DATEID and an inactive relationship between
EXPIRYDATEID and DATEID

 

So in my table, I can show Inception Month by brining in Start of Month from the date dimension table, because of the active relationship between the two dates. 

However I also want to display the expiry month. Without manually creating an expiry month and year column in the Fact table, I have no idea how to do this - I figure I need to create a calculated column perhaps in my date dimension table which uses the relationship between EXPIRYDATEID and DATEID but I don't know how to go about this.

 

Help please!

2 REPLIES 2
mh2587
Super User
Super User

use the userrelationship function and values function to create the calculated column 


Did I answer your question? If so, please mark my post as a solution!


Proud to be a Super User!




LinkedIn Icon
Muhammad Hasnain



@mh2587 I figured I need to do this, but I don't now the sytax for creating the calculated column. Are you able to help me write it? 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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