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
amiller5
Helper II
Helper II

How to connect Minif between two data sources

Hello - I have the following Excel formula that I need to convert into Dax.

=MINIFS(T:T,P:P,B9)

T - Contract date

P - Account name (may have multiple instances)

B9 - account name in a different source

 

I have tried computing as a column or a measure with Lookupvalues or Calculate without any luck.

 

Thank you!

1 ACCEPTED SOLUTION

Hi,

To your matrix visual, drag the Account Name from the Service 4 table.  Write this measure

Min date = min('Table3'[Contract effective date])

Hope this helps.


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

View solution in original post

4 REPLIES 4
v-zhangti
Community Support
Community Support

Hi, @amiller5 

 

I briefly simulated some data that I hope fits your situation.

Column =
CALCULATE (
    MIN ( 'Service 3'[Contract date] ),
    FILTER ( 'Service 3', [Account name] = EARLIER ( 'Service 4'[Account name] ) )
)

Service 3:

vzhangti_0-1653986973269.png

Service 4:

vzhangti_1-1653986987765.png

Is this the result you expect?

 

Best Regards,

Community Support Team _Charlotte

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

 

amiller5
Helper II
Helper II

Here is an example of the data: And i would most likely show it in a matrix, but more importantly I need to cacluate the age of effective date against (Today)date in another measure.

amiller5_0-1653680697952.png

 

Hi,

To your matrix visual, drag the Account Name from the Service 4 table.  Write this measure

Min date = min('Table3'[Contract effective date])

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Anonymous
Not applicable

@amiller5 you'd better post a sample of your data table and how you'll be showing your data to the users, in order to help you out.

For example; whether you show in a matrix visual, post how you`d like to show... 

 

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.