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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
SRBI
Regular 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
Regular Visitor

One more detail...

 

I create this formula: 

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

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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