Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
SRBI
Frequent Visitor

CALCULATE INVENTORY BY FILTER

Hi Guys...

 

I created a Dax calculation: 

SWITCH(TRUE(),[A PEDIR]<0,"OVERSTOCK","OK")
 
Now... I want to calculate the Total Inventory by this Criteria...then..i need 2 things: 1. Create an Slicer ("Overstock" and "Ok") or  Calculate Total Inventory by each criteria...
 
My real issue is not with calculation is with the Slicer or filter...
 
Any guide?
 
Thanks a lot !
 
 
1 REPLY 1
SRBI
Frequent Visitor

One more detail...

 

I create this formula: 

IF([OVERSTOCK]="OVERSTOCK",CALCULATE([Valor Total Inventario]),BLANK() )
 
But Nothing happens!
 
Thank You!

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.