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.
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]))))