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
Anonymous
Not applicable

Price Volume Mix analysis in Power BI

In Power BI I am working on Price volume mix analysis for a manufacturing company in which I am facing issues for forex calculations at product level. I want to analyze product sold in current year vs previous year as per billing date, if a product is newly introduced in current year how to compare it with previous year with same date and month but different year. 

 

For example: 'xyz' product is sold on 2/8/2019 but was not introduced in previous year 2/8/2018 how to calculate the forex impact. 

 

1 ACCEPTED SOLUTION

@Anonymous ,

 

Generally, to create a sumif function in dax, I would suggest you refer to tutorial and similar cases below:

https://www.youtube.com/watch?v=iK__orX9XZo&vl=en

https://community.powerbi.com/t5/Desktop/SUMIF-Equivalent-in-DAX/td-p/230727

https://community.powerbi.com/t5/Desktop/SUMIFS-in-BI/td-p/180609

 

Community Support Team _ Jimmy Tao

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-yuta-msft
Community Support
Community Support

@Anonymous ,

 

Please share some sample data and clarify more details about your requirement.

 

Regards,

Jimmy Tao

Anonymous
Not applicable

Please have a look at the sample data in below table, we have CY vs PY and want to use Sumifs formula for our different criteria’s such as month, product code, country name, DocCurCode in Power BI in order to get results. Can you please suggest a solution to this in Power BI?  

 

Period (Prior Year/ Current Year)DateMonthEntity NameDocCurCodeDocCurValueHQCurCodeHQCurValueQuantityProduct CodeCountry Name
PY3/7/2018MarchXYZ CompanyUSD                 1,000USD1000100G06ZB1LMS0NUnited Arab Emirates
PY4/13/2018AprilXYZ CompanyEUR                 1,649USD1820200G06ZB1LMS0NGermany
PY5/26/2018MayXYZ CompanyEUR                 2,473USD2730300G06ZB1LMS0NGermany
CY3/7/2019MarchXYZ CompanyUSD                 4,100USD4100400G06ZB1LMS0NUnited Arab Emirates
CY4/13/2019AprilXYZ CompanyEUR                 2,332USD2563250G06ZB1LMS0NGermany
CY5/26/2019MayXYZ CompanyEUR                 1,399USD1538150G06ZB1LMS0NGermany

 

Thanks,

@Anonymous ,

 

Generally, to create a sumif function in dax, I would suggest you refer to tutorial and similar cases below:

https://www.youtube.com/watch?v=iK__orX9XZo&vl=en

https://community.powerbi.com/t5/Desktop/SUMIF-Equivalent-in-DAX/td-p/230727

https://community.powerbi.com/t5/Desktop/SUMIFS-in-BI/td-p/180609

 

Community Support Team _ Jimmy Tao

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.

Top Solution Authors