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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.