Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Anonymous
Not applicable

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

2 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

@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

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

v-xinruzhu-msft
Community Support
Community Support

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.

vxinruzhumsft_0-1709016346340.png

 

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.

 

View solution in original post

4 REPLIES 4
v-xinruzhu-msft
Community Support
Community Support

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.

vxinruzhumsft_0-1709016346340.png

 

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.

 

Anonymous
Not applicable

@amitchandak CURRENTLY NOT USING ANY MEASURE 

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

amitchandak
Super User
Super User

@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

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Can any one pl help any solution

Helpful resources

Announcements
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.