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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
I am trying to create category subtotals on 1 table based on a filter of categories from a 2nd data table.
My first data table 'Inquiries V2' has a list of caller names (CTName) and I am creating a total of the Entry IDs (unique row ID) based on the total CT name (filtered out 1 CTName category= HCP).
I created a new meaure in this table-
This is a sample of the Nature of Call Table
date_created | Entry ID | Date/Time of Call | Attribute | Value |
6/30/2020 0:00 | 231143808 | 4/28/2020 9:59 | Questions Guidance | Asking Questions/Seeking Guidance |
6/30/2020 0:00 | 231143808 | 4/28/2020 9:59 | Recommendations/Suggestions | Recommendations/Suggestions |
7/22/2020 0:00 | 239917823 | 7/22/2020 14:26 | Questions Guidance | Asking Questions/Seeking Guidance |
7/22/2020 0:00 | 239917823 | 7/22/2020 14:26 | Report Case/Conact | Report Case/ Inquire Case or Contact Investigation |
6/30/2020 0:00 | 231143824 | 4/28/2020 8:34 | Questions Guidance | Asking Questions/Seeking Guidance |
6/30/2020 0:00 | 231144273 | 4/1/2020 14:26 | Reporting Violation | Reporting Violation to Public Health Orders/Compliance with Order |
6/30/2020 0:00 | 231143618 | 4/27/2020 11:46 | Questions Guidance | Asking Questions/Seeking Guidance |
6/30/2020 0:00 | 231144173 | 4/23/2020 14:52 | Questions Guidance | Asking Questions/Seeking Guidance |
6/30/2020 0:00 | 231144173 | 4/23/2020 14:52 | Recommendations/Suggestions | Recommendations/Suggestions |
6/30/2020 0:00 | 231143900 | 4/26/2020 10:49 | Questions Guidance | Asking Questions/Seeking Guidance |
6/30/2020 0:00 | 231143900 | 4/26/2020 10:49 | Recommendations/Suggestions | Recommendations/Suggestions |
6/30/2020 0:00 | 231143661 | 4/29/2020 14:42 | Questions Guidance | Asking Questions/Seeking Guidance |
7/22/2020 0:00 | 239903620 | 7/22/2020 13:53 | Questions Guidance | Asking Questions/Seeking Guidance |
6/30/2020 0:00 | 231143867 | 4/27/2020 13:51 | Questions Guidance | Asking Questions/Seeking Guidance |
7/22/2020 0:00 | 239896801 | 7/22/2020 13:40 | Questions Guidance | Asking Questions/Seeking Guidance |
6/30/2020 0:00 | 231143644 | 4/29/2020 15:32 | Questions Guidance | Asking Questions/Seeking Guidance |
6/30/2020 0:00 | 231143644 | 4/29/2020 15:32 | General Complaint | General Complaint |
date_created | Entry ID | Date/Time of Call | CT Name | ||
6/30/2020 | 2.31E+08 | 4/28/2020 | General Public | ||
7/22/2020 | 2.4E+08 | 7/22/2020 | Business | ||
6/30/2020 | 2.31E+08 | 4/27/2020 | Missing | ||
6/30/2020 | 2.31E+08 | 4/28/2020 | General Public | ||
6/30/2020 | 2.31E+08 | 4/1/2020 | Business | ||
6/30/2020 | 2.31E+08 | 4/27/2020 | Missing | ||
6/30/2020 | 2.31E+08 | 4/27/2020 | General Public | ||
7/22/2020 | 2.4E+08 | 7/22/2020 | Health Care Provider | ||
6/30/2020 | 2.31E+08 | 4/23/2020 | Health Care Provider | ||
6/30/2020 | 2.31E+08 | 4/23/2020 | General Public | ||
6/30/2020 | 2.31E+08 | 4/26/2020 | General Public | ||
6/30/2020 | 2.31E+08 | 4/29/2020 | Business | ||
7/22/2020 | 2.4E+08 | 7/22/2020 | Special Setting | ||
6/30/2020 | 2.31E+08 | 4/27/2020 | Business | ||
7/22/2020 | 2.4E+08 | 7/22/2020 | Special Setting | ||
6/30/2020 | 2.31E+08 | 4/27/2020 | Health Care Provider | ||
7/22/2020 | 2.4E+08 | 7/22/2020 | Health Care Provider |
Hi @lisago1978 ,
Does that make sense? If so, kindly mark the proper reply as a solution to help others having the similar issue and close the case. If not, let me know and I'll try to help you further.
Best regards
Amy
@lisago1978 , refer 1 of the 3
% C_Nature =DIVIDE(SUM('Inquiries Call Nature'[Value]),calculate(SUM('Inquiries Call Nature'[Value]),all('Inquiries Call Nature')))
% C_Nature =DIVIDE(SUM('Inquiries Call Nature'[Value]),calculate(SUM('Inquiries Call Nature'[Value]),all('Inquiries Call Nature'[_GT_I])))
% C_Nature =DIVIDE(SUM('Inquiries Call Nature'[Value]),calculate(SUM('Inquiries Call Nature'[Value]),allexcept('Inquiries Call Nature'[_GT_I])))
Also refer :
https://community.powerbi.com/t5/Desktop/Percentage-of-subtotal/td-p/95390
Sorry none of those are working, I changed Entry ID to a whole number, but when I do this formula, which is still not right because it is not filtered on a third value I get 0 or 1 instead of the %
Hi @lisago1978
could you provide a .pbix-file with your data, the measures you have made so far and visuals you need? Upload them to dropbox/onedrive/other and share the link.
Cheers,
Sturla
Hi @lisago1978 ,
You may change the Cross filter direction of relationships between the two tables from Single to Both , which will take the two tables treated as a single table, then create measure like DAX below.
_% Call_N = DIVIDE(SUM('Inquiries Call Nature'[Entry ID]),CALCULATE(SUM('Inquiries Call Nature'[Entry ID]), ALLSELECTED('Inquiries Call Nature' )))
Best Regards,
Amy
Community Support Team _ Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Unfortunately, none of these worked. Could it be the call nature table I created was a subset of the first where I took a wide column and made it long.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.