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
Allan-Mautante
Frequent Visitor

Converting Excel Formula to Power BI

Hi All,

Need your outmost assistance on converting this excel formula to Dax  Power Bi. 

Thank you in advance!!

 

Allan-Mautante_0-1614415090895.png

 

1 ACCEPTED SOLUTION

@Allan-Mautante 

maybe you can try to create a column

Column = minx(FILTER('Table','Table'[Validator]=EARLIER('Table'[Validator])&&'Table'[Date of Call]>EARLIER('Table'[Date of Call])),'Table'[Date of Call])

1.png





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

8 REPLIES 8
Msaba
Frequent Visitor

Hi All,

Need same assistance in converting this excel formula to Dax  Power Bi. 

=IF(ISNUMBER(SEARCH("REL CNF",[@[System status]])),"CNF",MID([@[System status]], 1, 4))

 

Thank you a lot!

@Msaba 

you can open a new post and pls provide the sample data and expected output.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Allan-Mautante
Frequent Visitor

Does anyone wants to shed some lights :'(

negi007
Community Champion
Community Champion

@Allan-Mautante Hi Allan, could you please share value for all columns. In your excel sheet, there is no value in the validator column. To write any dax for this, I will have to have data in powerbi then only I can write/suggest a dax solution. If possible share data in text format so that we can copy and paste it into powerbi and then can do the testing.

 

looking forward to your response.




Did I answer your question? Mark my post as a solution!
Appreciate your Kudos



Proud to be a Super User!


Follow me on linkedin

Hi @negi007 ,

 

Thank you so much i can now see a little light on this thing hope you can help me.

Make this to be more Simpler. 

 

Allan-Mautante_1-1614488911037.png

 

Here's the table:

Date of Call
1/1/19 2:28 AM
1/1/19 8:51 AM
1/1/19 10:26 AM
1/1/19 10:39 AM
1/1/19 1:03 PM
1/1/19 1:53 PM
1/1/19 1:59 PM

 

Agent Name
invoker
lina
Shadow Demon
Alchemist
Bristleback
Sven
Alchemist

 

Validator
9586487264
9586487389
9586487256
9586487264
9586487389
9586487839
9586487264

Days repeated call

 

Answer Should look like this
1/1/19 10:39 AM
1/1/19 1:03 PM

1/1/19 1:59 PM

 

Remarks
on Days repeated call Should get the Date on the Second Call

 

@Allan-Mautante 

maybe you can try to create a column

Column = minx(FILTER('Table','Table'[Validator]=EARLIER('Table'[Validator])&&'Table'[Date of Call]>EARLIER('Table'[Date of Call])),'Table'[Date of Call])

1.png





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Thank you so much Super  Big Help...

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.