Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register 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
User | Count |
---|---|
11 | |
9 | |
6 | |
5 | |
4 |