Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
105 | |
104 | |
87 | |
73 | |
66 |
User | Count |
---|---|
122 | |
112 | |
98 | |
79 | |
72 |