Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi there,
I have a scatter map built on PowerBI with the colours of the marker being based on an independent measure
Measure :
@Anonymous This post is an awesome trick that creates a legend, but you can use the same technique to turn it into a slicer instead of legend: https://apexinsights.net/blog/include-legend-with-a-conditionally-formatted-chart
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
Hi @AllisonKennedy ,
Thank you for your response! While the post is very insightful, there are some key differences that leave me a bit confused as to how to directly apply a similar approach for my case. Firstly, the scatter plot is based on a dataset which is not aggregated (unlike the dataset in the post that you've shared). Also, the scatter plot's X and Y values are also measures so creating a calculated table is rather tricky.
You don't need to create a calculated table, just need to manually input a table that has the values you want in the slicer.
What options do you want the user to see in the slicer and where in your dataset do those come from?
These posts do similar technique, but will again have differences with your scenario:
https://excelwithallison.blogspot.com/2020/06/dax-approximate-lookup.html
https://excelwithallison.blogspot.com/2021/09/power-bi-forecasting-with-irregular.html
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.