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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
cruzp
Helper V
Helper V

Creating a table contains Avg Days prior Closing per BU

Hello, 

 

I have a data model below where I have the fact tables that links to two dimensional table both have many to one relationship.

DIM_COST_CENTER does not have a relationship to DIM_OPPORTUNITY.

 

cruzp_0-1690792248007.png

 

My goal is to have a table like below: 

 

cruzp_1-1690793608077.png

Business Unit is from the table 'DIM_COST_CENTER'

Avg Days Close should be the difference between Closed Date and Created Date from table 'DIM_OPPORTUNITY'

 

I wanted to create the Avg Days Close within my fact table but I could not able to call the date fields from 'DIM OPPORTUNITY'

 

And create a table for Avg Days Close per Business Unit.

 

Please help how do I do it.

1 ACCEPTED SOLUTION
DataVitalizer
Solution Sage
Solution Sage

Hi @cruzp 

In order to get the exact values edit the relationship between FACT and 'DIM OPPORTUNITY' and set the cross filter direction to 'Both'

 
 

othy_bi_2-1690798009071.png


Did it work ?  ‌‌ Mark it as a solution to help spreading knowledge
Was this exchange helpful? A kudos 👍 would be appreciated

View solution in original post

1 REPLY 1
DataVitalizer
Solution Sage
Solution Sage

Hi @cruzp 

In order to get the exact values edit the relationship between FACT and 'DIM OPPORTUNITY' and set the cross filter direction to 'Both'

 
 

othy_bi_2-1690798009071.png


Did it work ?  ‌‌ Mark it as a solution to help spreading knowledge
Was this exchange helpful? A kudos 👍 would be appreciated

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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