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 August 31st. Request your voucher.

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
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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