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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
eliasayyy
Memorable Member
Memorable Member

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
Anonymous
Not applicable

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
Anonymous
Not applicable

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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