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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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