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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
yogeshk77
Helper I
Helper I

Fetch Data with no active relation

 

Hi All,

 

Please refer to this Power BI File

I have a table called "Aha Features" with two fields (Shown in the report)

Now, there is another table called "Features" (also show in the report), that does not have active relationship with the column with similar name in "Aha Features" table.

Now, I need to show Score in "Features" table (In field called "AHA WSJF Score") ,but the calculated column I have added, isn't working (Showing blank values for all rows as seen in the table visual for "Feature" table visual).

 

The problem may be because of the relationships between "Epic" table & "Aha Features" on the same column as that between "Features" and "Aha Features" table.

 

What's the solution?
Can someone please help me?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @yogeshk77 ,

 

You are using calculated columns as a context, so you need to use the EARLIER function. Based on your sample, I get the following results:

vtianyichmsft_0-1697523652500.png

 

DAX for New column:

AHA WSJF Score =
VAR CurrentProjectName = [PO Project Name]
RETURN
       CALCULATE(
        MAX('Aha Features'[Feature product value score]),
        FILTER('Aha Features', 'Aha Features'[POProjectNameCleaned] = EARLIER(Features[PO Project Name])),ALL(Features))

 

I've also created a Measure for you that does the same thing, which you can download as an attachment.

 

Hope it helps!

 

Best regards,
Community Support Team_ Scott Chang

 

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
yogeshk77
Helper I
Helper I

Brilliant !!! Thanks a lot !

Anonymous
Not applicable

Hi @yogeshk77 ,

 

You are using calculated columns as a context, so you need to use the EARLIER function. Based on your sample, I get the following results:

vtianyichmsft_0-1697523652500.png

 

DAX for New column:

AHA WSJF Score =
VAR CurrentProjectName = [PO Project Name]
RETURN
       CALCULATE(
        MAX('Aha Features'[Feature product value score]),
        FILTER('Aha Features', 'Aha Features'[POProjectNameCleaned] = EARLIER(Features[PO Project Name])),ALL(Features))

 

I've also created a Measure for you that does the same thing, which you can download as an attachment.

 

Hope it helps!

 

Best regards,
Community Support Team_ Scott Chang

 

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.