Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello,
I am using SQL and Excel data to calculate sales by month with multiple filters by using 2 different tables.
Can someone please help me with this? Thank you!
-Qamr
Hello,
Thank you for the response. I tried to provide sample data. But please let me know if that doesn't make sense or if you have concerns.
| Prod_Id | Date | Forecast | Sales | Variance | MFM | Bias |
| 2001 | 1/12/2020 | 2500 | comes from another table that has Prod_id. This will have multiple filters ; eg: channel id!=25; order_status_name="invoiced" | (Forecast-sales)/(Forecast+sales) | is um of last 12 calendar months variance | if NFM>2; Over and NFM<-2; under |
| 2001 | 2/12/2020 | 2200 | ||||
| 2001 | 3/12/2020 | 900 | ||||
| 2001 | 4/12/2020 | 905 | ||||
| 2001 | 5/12/2020 | 2300 | ||||
| 2001 | 6/12/2020 | 2500 | ||||
| 2001 | 7/12/2020 | 925 | ||||
| 2003 | 1/12/2020 | 1200 | ||||
| 2003 | 2/12/2020 | 1250 | ||||
| 2003 | 3/12/2020 | 1100 | ||||
| 2003 | 4/12/2020 | 1110 | ||||
| 2003 | 5/12/2020 | 900 | ||||
| 2003 | 6/12/2020 | 980 | ||||
| 2003 | 7/12/2020 | 900 | ||||
| 2003 | 8/12/2020 | 950 | ||||
| 2003 | 9/12/2020 | 1000 |
Please provide sanitized sample data that fully covers your issue.
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...
Please show the expected outcome based on the sample data you provided.
https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 5 | |
| 5 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 16 | |
| 8 | |
| 7 | |
| 7 |