Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
I have a dataset that is an aggregation, by state and county, of different measures (e.g. count of people, houses and "people per house"). Each of these measures is of type = decimal, with one decimal place.
I have a VIZ that uses a filled map, where the filled color is a gradient showing the density of these measures in different counties). The filled map works fine if I use any of the measures individually.
I am trying to set up a parameter, for use in a slicer, so that the gradient changes if we toggle between the measures. (in other words, if "People" is selected in the slicer, then the map uses the "People" measure for the gradient. Or if I change the slider to "People per House", the gradient then changes to use that measure instead)
I created the measure, and the slicer, and set up a card for the output. The output looks correct, however, the paramater is defaulting the resulting value to a text format, so the map is unable to use the value correctly.
I have tried to use SWITCH as an alternate solution, but this has also been unsuccessful. Anyone have any other ideas? Thanks in advance for any help you can give.
@cmihale have you tried field parameters for the measure selection?
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Hi! Did you manage to find a solution?
User | Count |
---|---|
116 | |
73 | |
60 | |
48 | |
48 |
User | Count |
---|---|
171 | |
122 | |
60 | |
59 | |
56 |