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.
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êsCovering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
105 | |
94 | |
75 | |
63 | |
62 |
User | Count |
---|---|
137 | |
105 | |
104 | |
80 | |
63 |