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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
shivarajapras
Frequent Visitor

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

@shivarajapras , 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

View solution in original post

v-xinruzhu-msft
Community Support
Community Support

Hi @shivarajapras 

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 @shivarajapras 

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.

 

shivarajapras
Frequent Visitor

@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

@shivarajapras , 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

shivarajapras
Frequent Visitor

Can any one pl help any solution

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

July Newsletter

Fabric Community Update - July 2024

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