Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hi,
I have one column where peolpe were able to wirte down a free text.
This is my actual formula:
Zeitpunkt der Begehung =
IF (
LEFT ( 'LN'[Leistungsbeschreibung]; 14 ) = "Objektbegehung";LEFT(
'LN'[Datum];10)
)
Problem is that I the word "Objektbegehung" I´m looking for as an indicator can also be in the middle of the free text or at the end..
Is it possible to look for the word "Objektbegehung" whereever it is located in the sentence?
Solved! Go to Solution.
Hi @BachFel,
Try this formula:
Zeitpunkt der Begehung = IF ( SEARCH ( "Objektbegehung"; 'LN'[Leistungsbeschreibung]; 1; 0 ) > 0; LEFT ( 'LN'[Datum]; 10 ) )
Regards,
MFelix
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @BachFel,
Try this formula:
Zeitpunkt der Begehung = IF ( SEARCH ( "Objektbegehung"; 'LN'[Leistungsbeschreibung]; 1; 0 ) > 0; LEFT ( 'LN'[Datum]; 10 ) )
Regards,
MFelix
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsIt worked, thank you so much!
I have another formula where I need to use the search funct. u used, again.
Datum der Besichtigung = CALCULATE(MIN('LN'[Zeitpunkt der Begehung]);FILTER(KontElemente;KontElemente[MandantID]=2);FILTER('LN';'LN'[Leistungsbeschreibung]=("Objektbegehung"));FILTER('LN';'LN'[KontElementID]=EARLIER(KontElemente[KontElementID])))
Is it possible to install your search function in the formula above.
Hi @BachFel,
Can you please explain a little bit better what you want to achieve with the function?
From what I can understand you have a column that as the word "Objektbegehung" in your model or am I understanding your formula incorrectly?
Regards,
MFelix
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsUser | Count |
---|---|
140 | |
113 | |
104 | |
76 | |
63 |
User | Count |
---|---|
135 | |
126 | |
110 | |
70 | |
61 |