Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago
Solved

Slicer

I had two tables having lat and longs.. since we cant use two different tables lat longs on a sinle map  So I had appended the table.. and using those lat longs on a map with differenating with a le...
  • amitchandak's avatar
    2 years ago

    Anonymous , Create an independent/disconnected table for location. And then create measures like

     

    calculate([Your measure], filter(Table, Table[Location] in Values(Location[Location]) || Table[Location]= "NA") )

     

    Need of an Independent/disconnected Table in Power BI - Exclude: https://youtu.be/lOEW-YUrAbE

  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi Anonymous 

    Based on the solution amitchandak provided, if you don't have measure, you can try the modify it to the following 

    Measure =
    IF (
        SELECTEDVALUE ( Table[Location] )
            IN VALUES ( Location[Location] )
                || SELECTEDVALUE ( Table[Location] ) = "NA",
        1,
        0
    )
    

    Then put it to the visual filter.

     

    Best Regards!

    Yolo Zhu

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.