Forum Discussion
Anonymous
3 years agoNot applicable
Change format in mesure in tooltip
Hello i have that kind of measure for my tooltip
And i wloud like to show sentence with "udział" in %
And rest of them as number
like this
Kompletacja udział godzin 23%
Kompl. (jedn. wyd./h) 123,43
Wartość tool tip = CALCULATE(SUM(Dane_agr[wartosc_val]),Nazwy_OP[Nazwa_PBI] in
{"Kompletacja udział godzin",
"Operatorzy udział godzin",
"Załadunek udział godzin",
"Przyjęcia udział godzin",
"Kompl. (jedn. wyd./h)",
"Operatorzy g/d",
"Przyjęcia (pal/h )",
"Załadunek ( pal/h )"})
I think i should use something with contains and format but i dont know how to change it
4 Replies
- tamerj1
Community Champion
Hi Anonymous
Please tryWartość tool tip = VAR Result = CALCULATE ( SUM ( Dane_agr[wartosc_val] ), Nazwy_OP[Nazwa_PBI] IN { "Kompletacja udział godzin", "Operatorzy udział godzin", "Załadunek udział godzin", "Przyjęcia udział godzin", "Kompl. (jedn. wyd./h)", "Operatorzy g/d", "Przyjęcia (pal/h )", "Załadunek ( pal/h )" } ) RETURN IF ( CONTAINSSTRING ( SELECTEDVALUE ( Nazwy_OP[Nazwa_PBI] ), "udział" ), FORMAT ( Result, "Percent" ), Result )- AnonymousNot applicable
Thank you a lot i dont see any error
but still don't see %
- tamerj1
Community Champion
Anonymous
Make sure you are using the correct column inside SELECTEDVALUE