I am relatively new to Power BI and have been asked to create a dashboard that displays report card like information and updates by selecting only the individual's name. I have performance measures that compare individual to state and overall performance using ALLEXCEPT and filters and I got it to work by selecting the filters individually for that person but I am having difficulties figuring out how to make it work without selecting the additional filters.
The demographics are in both the 'provider demo' and 'sql measures table' listed for the individual that I am selecting.
Below is the relationships I built: relationships
The measures that I want to automatically work without additional filter selecting are below and currently function how I want them to besides the need to additionally select filters:
Overall Reporting Rate =
CALCULATE (
DIVIDE (
SUM ( 'sql measures table'[Reporting Numerator] ),
SUM ( 'sql measures table'[Reporting Denominator] ),
0
),
ALLEXCEPT ( 'sql measures table', 'sql measures table'[PROC_DAY_DATE (bins) 3] )
)
--
State Performing Rate =
CALCULATE (
DIVIDE (
SUM ( 'sql measures table'[Performing Numerator] ),
SUM ( 'sql measures table'[Performing Denominator] ),
0
),
ALLEXCEPT (
'sql measures table',
'sql measures table'[PROC_DAY_DATE (bins) 3],
'sql measures table'[PRV_STATE],
'sql measures table'[measure]
)
)
I've tried having the ALLEXCEPT statement include the columns from the demographics table.
Is there a way through DAX or M to be able to only select the person's name and have the measures work appropriately?
I am producing a dashboard that displays a matrix with numerators, denominators, and measures like the ones above as well as bar graphs that display measures of individual performance, state performance, and nationwide performance of the network. The goal is to only have to select one filter- the person's name and have the dashboard fully update. If I add a filter for the state from the sql table that contains all the metrics data, the matrix updates appropriately. Although I have relationships set up, I tried selecting the state from the demographics table and it didn't work correctly, as the performance rates for the state and nationwide were the same.
Above is a mock-up of the dashboard. The graph on the side is the performance for the individual, state, and nation for the first measure. There will be a graph for each measure going down the matrix. In order to get them to work properly, I selected the state as a visual-level filter.
Each provider is assigned certain measured, defined in a table that has a relationship established. I have to select a specific filter from the sql fact table in order to get the correct measures to display for the provider, and my goal is to be able to select the provider and have the measures assigned to that person automatically display.