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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Been away from PowerBI for a few years and trying to get back into it but having a challenge with a relatively easy calculation.
I have two tables "Person" and "History" with a one-to-many relationship via the "PersonID". I've been unsucessful in calculating the percent of person who have a status of "H" from the "Person" table. I've used the below function with a filter but that returns the total count from the table, not just the realated records from "History".
This is what I've used and now I'm thinking I need to somehow set 'Person'[PersonID] = 'History'[PersonID]
I finally got something working but it is likely not the most efficient. I know I calculated various percentages from related tables for Cards in the past and don't remember doing them this way. Here is the DAX I used:
Hi,
Share data in a format that can be pasted in an MS Excel file and show the expected result clearly.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 133 | |
| 88 | |
| 85 | |
| 68 | |
| 64 |