Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I am trying to create a measure which will react to the selected values on a filter
I have created this: Selected values = CALCULATE(SUM(USECASE_ADM_DETAIL[LOTS]),FILTER(USECASE_ADM_DETAIL,(USECASE_ADM_DETAIL[LEGALENTITYID] = SELECTEDVALUE(USECASE_ADM_DETAIL[LEGALENTITYID]))))
However when I select multiple values from the LEGALENTITYID field, the measure no longer works.
Any help would be great
Solved! Go to Solution.
CALCULATE(SUM(USECASE_ADM_DETAIL[LOTS]),FILTER(USECASE_ADM_DETAIL,(USECASE_ADM_DETAIL[LEGALENTITYID] in values(USECASE_ADM_DETAIL[LEGALENTITYID]))))
CALCULATE(SUM(USECASE_ADM_DETAIL[LOTS]),FILTER(USECASE_ADM_DETAIL,(USECASE_ADM_DETAIL[LEGALENTITYID] in values(USECASE_ADM_DETAIL[LEGALENTITYID]))))
User | Count |
---|---|
25 | |
12 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
12 | |
11 | |
10 | |
6 |