VAR h2 = SELECTEDVALUE(YourTable[TIS-Level2])
VAR h1 = SELECTEDVALUE(YourTable[TIS-Level1])
VAR hh = IF(ISBLANK(h2), h1, h1 & " - " & h2) -- this checks for level 2 selection, when you are in your table on a total level h2 is blank you can see only h1
Thanks Mariusz Regards, Mariusz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.