Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe 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.
Hi all,
Is it possible to have a filter only affect certain data types on a map visual? I am creating a map with client sites, technicians, and subcontractors, and I want to be able to filter the client sites by client without having the technician / subcontractor data disappear (They are not related). Any advise would be greatly appreciated. Thank you!
Solved! Go to Solution.
Hi @aclifton ,
Sounds like you need a disconnected table to specifically filter the fields you need.
For example, the Measure returns the sum of the values based on the selctions from the slicer.
Measure = CALCULATE(SUM('Table'[Value]),FILTER(ALLSELECTED('Table'),[ID] IN ALLSELECTED('Table 2'[ID])))
The field of the slicer is from the Table 2 created by dax.
Although the IDs are filtered in the slicer, the IDs of the table visual are retained.
You can also remove ALLSLECTED as follows, which will return the value of the corresponding ID.
Measure 2 = CALCULATE(SUM('Table'[Value]),FILTER('Table',[ID] in ALLSELECTED('Table 2'[ID])))
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @aclifton ,
Sounds like you need a disconnected table to specifically filter the fields you need.
For example, the Measure returns the sum of the values based on the selctions from the slicer.
Measure = CALCULATE(SUM('Table'[Value]),FILTER(ALLSELECTED('Table'),[ID] IN ALLSELECTED('Table 2'[ID])))
The field of the slicer is from the Table 2 created by dax.
Although the IDs are filtered in the slicer, the IDs of the table visual are retained.
You can also remove ALLSLECTED as follows, which will return the value of the corresponding ID.
Measure 2 = CALCULATE(SUM('Table'[Value]),FILTER('Table',[ID] in ALLSELECTED('Table 2'[ID])))
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
User | Count |
---|---|
138 | |
70 | |
67 | |
52 | |
52 |
User | Count |
---|---|
210 | |
92 | |
64 | |
59 | |
56 |