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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hello! I have been racking my brain trying to get subtotals for each Agency that goes on 911 calls.
My expected output would be to show the % of the total for each company when the filter is clicked. It does it in the CARD but I want it in the Circle graphic too.
The values are actually reports which I do distinct counts on. The measures are by denominator and numerator and I did it both by each hospital report and by each agency. My goal is to have a global filter where the user can see the counts by agency.
For each hospital report I am doing this calc:
You are going to have to provice some expected results and data for us to work with @Anonymous
I don't see any errors. You may not be getting the results you want, but that is why we need data and expected results.
How to get good help fast. Help us help you.
How To Ask A Technical Question If you Really Want An Answer
How to Get Your Question Answered Quickly - Give us a good and concise explanation
How to provide sample data in the Power BI Forum - Provide data in a table format per the link, or share an Excel/CSV file via OneDrive, Dropbox, etc.. Provide expected output using a screenshot of Excel or other image. Do not provide a screenshot of the source data. I cannot paste an image into Power BI tables.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI Reporting@edhans - Thanks - I added in more details about Expected output. It is a subtotaling issue for the most part.
We need data. Measures on cards often return different results than a chart because of the filter context. Unless acted on externally by the filter pane, cards have virtually no filter context, other than the model itself, or the DAX within the measure. Most other visuals though have multiple filters operating on them via the axis, legend, etc. So you will need to remove filters or limit your data to the latest time period or something.
"Something" is what we need data on. Very VERY difficult to return a working measure for you with nothing but PNG files.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingYes I understand...I run SQL code to gather millions of PCR_ID's (prehospital repots) for over 400 911 agencies. I then need to run a denominator of a safety measure then compare it to a numerator which is if the EMT did this and did that. Once I run the count I take the total # of PCR IDs and divide them by the # that met the safety measure:
the first column is the numerator count and the 2nd the denominator count. I hope this answers the more data question?? I am not very comfortable with numerator /denominator counts and subtotaling and have tried to apply subtotaling I used in standard finance and it does not work: PercentA = divide(CALCULATE(sum(Sheet1[Sales]),Sheet1[Item Type]="A"),SUM(Sheet1[Sales])) (like that sort of division does not work when the data are counts and I am trying to avoid adding extra CASE WHEN codes.