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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
colourfullife
Post Partisan
Post Partisan

Dax Calculation Sum Divide Filter

Hi,  I need help!

 

This is example of my table and there is a steps 1~3 below that i want to make in PBI.

please let me know if you have any ideas. Many thanks in advanced.

ItemIssue QtyStorage QtyActaul RevLevelWarehouse   
A011INVW   
B001INVW   
C003INV    
D401INV    
E001INV    
F023ER    
G005ER    
H004ERW   
I004ER    
J104ER    
         
1. Total : Issue Qty + Storage Qty + Actual Rev = 35     
2. Want to get a sum of Actual Rev after filter INV in Level colum and filter balnk in warehouse colum = 5
3. Want to get a pecentage of no2/no1 = 5/35*100=14.2%    

 

1 ACCEPTED SOLUTION
sturlaws
Resident Rockstar
Resident Rockstar

Hi,

these formulas are pretty simple to create, although they might have to be made more complex depending on how you intend to use them. So when posting questions, it is always a good idea to create a mock-up of how you want your solution to look like, or at least describe it.

pbix-file

cheers,
-s

View solution in original post

2 REPLIES 2
sturlaws
Resident Rockstar
Resident Rockstar

Hi,

these formulas are pretty simple to create, although they might have to be made more complex depending on how you intend to use them. So when posting questions, it is always a good idea to create a mock-up of how you want your solution to look like, or at least describe it.

pbix-file

cheers,
-s

Hi,

 

This is just perfect. I created one that i want with the dax, exactly what you said.

Thank you very much!

 

Cheers,

CL

 

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors