Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
drosers124
New Member

How to make a new table with distinct values and a calculation from another table's columns?

So, I am trying to create a map visualization in PowerBI desktop. I have a table with a lot of data. Including a state column, an admitted column, and a treatment column. The admitted column and treatment column is full of 1s and 0s meaning yes for 1 and no for 0. What I want to do is make a map with all the states and the yield of treatment/admitted. So, I want the size of the circle in the map to stand for the percentage of treatment/admitted. The admitted column is all 1s since the data is on people admitted. For example, there are multiple columns for a state let's say Wyoming and there were 4500 people admitted, but only 750 got treatment. The yield would be 750/4500 = 16.7% and that's what I want on the map. I made a new table with each distinct table. How do I make the calculation for yield to be able to make the map?

1 REPLY 1
v-yuta-msft
Community Support
Community Support

@drosers124 ,

 

Could you please share some sample data and give the expected result?

 

Regards,

Jimmy Tao

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.