Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
I have tried using the formula
Solved! Go to Solution.
Hi,
I am not sure how your semantic model looks like, but I tried to create a sample pbix file like below.
Please check the below picture and the attached pbix file.
KEEPFILTERS function (DAX) - DAX | Microsoft Learn
DAX operators - DAX | Microsoft Learn
Value total measure: = 
SUM( CRIMs[Value total] )
expected result measure: = 
CALCULATE (
    [Value total measure:],
    KEEPFILTERS ( CRIMs[Business Area Affected] IN { "supply chain management", "shipping" } )
)
Thank you, this worked, I also used the following function which worked as well:
CALCULATE([Total_CRIMS],FILTER(CRIMs, CRIMs[Business Area Affected] = "Shipping" || CRIMs[Business Area Affected] = "Purchasing/Logistics" || CRIMs[Business Area Affected] = "Supply Chain Management"))
Hi,
I am not sure how your semantic model looks like, but I tried to create a sample pbix file like below.
Please check the below picture and the attached pbix file.
KEEPFILTERS function (DAX) - DAX | Microsoft Learn
DAX operators - DAX | Microsoft Learn
Value total measure: = 
SUM( CRIMs[Value total] )
expected result measure: = 
CALCULATE (
    [Value total measure:],
    KEEPFILTERS ( CRIMs[Business Area Affected] IN { "supply chain management", "shipping" } )
)
 
					
				
				
			
		
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
 
            | User | Count | 
|---|---|
| 9 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | 
| User | Count | 
|---|---|
| 23 | |
| 14 | |
| 11 | |
| 10 | |
| 9 |