March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
I have 2 tables with a related field called School.
One table, ContactData, has columns with student name and school name.
The other table, School Size, has 2 columns: school name and school population.
I need to display the % of interventions for selected school.
For example:
In the School Size table, school A has a popualation of 500.
In the ContactData table, there is 450 rows of contacts for school A.
How do I construct a measue that gives me the 450/500 or 90% I can use in a visual?
Thx community in advance!
Hi, it sounds like you'd like to calculate the population share that is registered with a name out of the total population for that school.
Perhaps try if this works and is what you seek by selecting the School-field and the measure in for example a table visual.
PopulationShare = Divide(Distinctcount(ContactData[StudentName]) , SchoolSize[SchoolPopulation])
Not able to pull in Population. See attached picture for schema. Thx for your assistance.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
87 | |
85 | |
70 | |
51 |
User | Count |
---|---|
205 | |
153 | |
97 | |
79 | |
69 |