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
eliasayyy
Super User
Super User

give me first date of renewal if renewal else first date

hello everyone ,
i have table :

Business_Name                                                 Term in days              Date Funded                New/Renewal
Homes Reimagined Construction Inc18213-Dec-22Add On
Homes Reimagined Construction Inc18226-Aug-22New
1 Choice Pest Control1578-Mar-22New
3 Amorez12020-Jan-22New
1 Choice Pest Control13226-Sep-22Renewal

 

 

i want to create a measure to show me for each business their min date with condition
renewal is stronger than new 
add on is stronger than new

so if the business in the rows have renewal and new like "1 choice pest control",
give me the first date of renewal other

expected result in table visual

Business_Name  First Date            
Homes Reimagined Construction Inc                 13-Dec-22
3 Amorez20-Jan-22
1 Choice Pest Control26-Sep-22




1 ACCEPTED SOLUTION
eliasayy
Impactful Individual
Impactful Individual

hello @eliasayyy ,
i think you can try something like,

First Date = 
If(
containsstring(ConcatenateX(table[New/Renewal]),"Renewal",
Max(table[Funding Date],
Min(table[Funding Date])

View solution in original post

1 REPLY 1
eliasayy
Impactful Individual
Impactful Individual

hello @eliasayyy ,
i think you can try something like,

First Date = 
If(
containsstring(ConcatenateX(table[New/Renewal]),"Renewal",
Max(table[Funding Date],
Min(table[Funding Date])

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

April Fabric Community Update

Fabric Community Update - April 2024

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

March 2024 PBI Gallery Image

Power BI Monthly Update - March 2024

Check out the March 2024 Power BI update to learn about new features.

Top Solution Authors