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
Andreas-PowerBI
New Member

Grap information of a row, by condition

Hello community,

 

I could need some help in a case 🙂 

 

We have 3 Tables A,B and C. A ist related with C over B. 

 

I would like to have the information of Result from C in conditions to the DocumentDate, if DocumentDate from A is between FROM and TO of table C. 

 

Should I use a costum column or a measure? And I need help with the formular 🙂 

 

Many Thanks, Andreas 🙂

 

Screenshot 2020-10-14 140126.png

 

2 REPLIES 2
Ashish_Mathur
Super User
Super User

Hi,

You will have to write 2 calculated column formulas in Table A - one to bring over the contents of BC column from Table B (using the RELATED() function) and another to bring over the contents of the Result column from Table C (using the CALCULATE() and FILTER() function).

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
lbendlin
Super User
Super User

Think of it in terms of "Dimensions"  (things you filter by) and "Facts" (stuff you calculate).  Is A a dimension table or a fact table?

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.