Caractères spéciaux et colonne conditionnelle

Home – Le CFO masqué Forums Power BI Caractères spéciaux et colonne conditionnelle

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #41263
    claude.turcotte
    Participant

    J’essaie de convertir une colonne ayant des caractères spéciaux en nombre, par exemple, la colonne contient *****, ****, et ainsi de suite. Je veux compter le nombre de *. J’ai essayé avec la colonne conditionnelle, en ajoutant ou pas de “”. Rien n’y fait. Une idée?

    #41340
    Sophie Marchand
    Participant

    Bonjour,

    Sans avoir accès à votre fichier, il sera très difficile de vous répondre.

    Merci.

    Sophie

    #41816
    Stéphane Lorin
    Participant

    Bonjour

    Une idée pour compter le nombre de * dans une chaîne

    =NBCAR(A1)-NBCAR(SUBSTITUE(A1;”*”;””))

    Text.Length([Colonne1])-Text.Length(Text.Replace([Colonne1],”*”,””))

    Stéphane

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.