Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I have been stuck on this for days/weeks, so any assistance will be greatly appreciated. I greatly appreciate any assistance. I tried to upload the .pbix file to Google Drive, but haven't been able to do so successfully. Here is a link in case it works:
Data description. I have two source data tables:
Issues Reported Table: Records for issues reported on a tshirt product with the following 6 columns: ID (unique), Issue Reported Date, State Name (United States), Size, and Color.
Active Accounts Table: Records for volume of Active Accounts by State and Month/Year with the following 3 columns: MM/DD/YYYY (in date format as first day of period month), State Code (United States), Active Accounts Volume.)
|
|
And I have two tables I created to help solve the problem: a date table & a State dimensions table. These can be changed as needed to solve the issue.
|
I need to create a shade map that shows the relationship between the Number of Issues Reported and the Number of Active Accounts by State, for trend analysis. I don't want to shade by volume of issues because, for example, if there were 5 reported issues for only 5 active accounts in a state, this would be considered a bigger problem then if there were 5 reported issues for 100 active accounts in a state. So I need to do a ratio of Number of Issues reported by Number of Active Accounts. The Number of Active Accounts for each state fluctuates every month, so I need to use the average of Active Accounts volume as the denominator of the ratio and the count of the issues reported as the numerator of the ratio.
Measures created:
Two issues:
Shape Map with no filter selected |
Shape Map with X-Large size and Red Color filters selected |
Solved! Go to Solution.
The Shape Map is a preview item, and I guess there are some bugs with it still as there is not a function option on the fill colors. I did find that if I create the map as a filled map with a function for the fill colors, I can THEN change it to a Shape Map and the function option will remain. However, it doesn't work if you create the Shape Map, change it to a Filled Map, use the function option and then change it back to a Shape Map. You have to start it as a Shape Map.
Hi @gaylagarrett ,
Regarding your first question, what is your requirement? To filter the number of questions and active users in the same month by month?
Regarding your second question, I found that the visual can only set static values. There should be an option fx for conditional formatting.I think the visual you are using now does not support your needs.Do you accept to change the visual object to 'matrix'?
On the first question, I need to be able to calculate the ratio of issue volume by the average active accounts for a time period, in year increments. The date filter will be by year.
On the second question, I want a map that shows by color fill what states have the highest ratio of issue volume to active accounts for a time period. The shape map does not have the function/fx capability, but I think that there could be a way to create a measure that dynamically forces the "ranking" of issue volume to active accounts ratio to a normalized number (between 1 and 2 maybe), and then use that measure as the color fill value. So out of 50 states, no matter what filters are selected they would have a ratio normalized between the numbers 1 and 2 (1.1, 1.2, 1.6, etc.) and then I can select 1 as the minimum color value, 1.5 as the center and 2 as the maximum.
The Shape Map is a preview item, and I guess there are some bugs with it still as there is not a function option on the fill colors. I did find that if I create the map as a filled map with a function for the fill colors, I can THEN change it to a Shape Map and the function option will remain. However, it doesn't work if you create the Shape Map, change it to a Filled Map, use the function option and then change it back to a Shape Map. You have to start it as a Shape Map.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
9 | |
8 | |
8 | |
7 |
User | Count |
---|---|
13 | |
12 | |
11 | |
10 | |
8 |