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 legend 
Now the problem is 
I have a slicer called location 
in that I have A,B,C, D and NA (because this from other table which is appended)
Whenever I am selcting A from slicer these are being shown on map but the NA's realted points getting removed
Can we show these NA points on map without selecting NA from slicer 
how to do it 
OR IF I Select A along with A show NA points on map
Or If I select B  along with B show NA points on map
Or If I select C  along with C show NA points on map
Or If I select D  along with D show NA points on map

  • 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.

     

4 Replies

  • 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
    Not applicable

    Can any one pl help any solution

  • Anonymous's avatar
    Anonymous
    Not applicable

    amitchandak CURRENTLY NOT USING ANY MEASURE 

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

  • Anonymous's avatar
    Anonymous
    Not applicable

    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.