Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hi!
I have something i am trying to build but not really sure how to start it. Below are the parameters:
Example:
Store 5 is getting 3 inches of snow
It would avg the Total Sales in these specific rows only with the above paramenters, not the sales in any others:
I have a dates table with the year&week # called 'Dates'
I have a measure that finds the forecasted snow range
I have a measure that finds the historical snow range
I have a Sales History table that has the year&week listed
How do I build a formula that takes the forecasted snow range measure, finds the year&week #'s that meet that range from another measure, takes those week numbers and finds the sales in the sales table, then averages those sales.
Solved! Go to Solution.
yes,adding a column to your sales history table that lists the snow range for each week can simplify the process.
To calculate the average historical sales based on the forecasted snow range
Filter Sales Data:
Calculate Average Sales:
hi!
I just tried this, but it didnt come back with anything. Do i need to add a column to my sales history that lists what the snow range was for that week?
yes,adding a column to your sales history table that lists the snow range for each week can simplify the process.
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 41 | |
| 37 | |
| 34 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 65 | |
| 62 | |
| 31 | |
| 26 | |
| 25 |