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.
I am trying to make my cards be filtered and calculated using my filters... but they don't seem to be working.
I have my formula - and it takes the total revenue, and divides by the count of how many patients there are... but I want it to filter with each practice.
I want to click on one practice, and the average patient revenue is connected to that (that practices revenue / that practices count of patients)
Thanks in advance,
Solved! Go to Solution.
@Anonymous , Try like
AvgRevenue Per Patient = [Revenue] / CALCULATE(DISTINCTCOUNT('public view_patients'[patient_key]), FILTER('public view_practices', 'public view_practices'[name] in ('public view_practices'[name])))
I think even this should work
AvgRevenue Per Patient = [Revenue] / CALCULATE(DISTINCTCOUNT('public view_patients'[patient_key]))
@Anonymous , Try like
AvgRevenue Per Patient = [Revenue] / CALCULATE(DISTINCTCOUNT('public view_patients'[patient_key]), FILTER('public view_practices', 'public view_practices'[name] in ('public view_practices'[name])))
I think even this should work
AvgRevenue Per Patient = [Revenue] / CALCULATE(DISTINCTCOUNT('public view_patients'[patient_key]))
Neither of those worked.....
the first one gave me an error about the in statement, and the other one is what I had at once, but doesn't filter correctly. I am suppose to get values like in their 30-40s but I'm getting numbers under 15
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
97 | |
75 | |
65 | |
53 |
User | Count |
---|---|
144 | |
103 | |
98 | |
85 | |
64 |