Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hello
I am trying to report price elasticity in PowerBi. I looked at posts and and used this formula for the qty at min price
@Anonymous
You may try using SUMMARIZE Function inside the SUMX Function.
Could you give me an example with the following
| Product | Region | Date | Invoice | Qty | Price/Gal | ||
| Jet Fuel | GLN | 1/1/2019 | 12 | 100 | $ 1.00 | ||
| Jet Fuel | GLN | 2/1/2019 | 42 | 100 | $ 1.00 | ||
| Jet Fuel | GLN | 1/12/2019 | 13 | 20 | $ 2.00 | ||
| Jet Fuel | Jax | 2/12/2019 | 14 | 20 | $ 1.00 | ||
| Jet Fuel | Jax | 1/12/2019 | 15 | 30 | $ 2.00 | ||
| Gas | GLN | 1/1/2019 | 16 | 40 | $ 1.00 | ||
| Gas | GLN | 2/12/2019 | 17 | 50 | $ 2.00 | ||
| Gas | Jax | 2/12/2019 | 18 | 60 | $ 1.00 | ||
| Gas | Jax | 2/12/2019 | 44 | 200 | $ 1.00 | ||
| Gas | Jax | 1/12/2019 | 19 | 70 | $ 2.00 | ||
| Expected Results | |||||||
| Slicers: Jet Fuel and GLN and 2019 | |||||||
| Qty at min price | 200 | ||||||
| Slicers: Jet Fuel all regions and 2019 | |||||||
| Qty at min price | 220 | ||||||
| Slicers: Gas and Jax and 2019 | |||||||
| Qty at min price | 260 | ||||||
| Slicers: Jet Fuel and GLN and Jan 2019 | |||||||
| Qty at min price | 100 | ||||||
I am sorry to say I don't understand how to use the summarize for this... or any solution. I am new to DAX. I read the Mircorsoft explanation but still puzzled. I just watned to respond since you were kind to answer. 🙂
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.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 47 | |
| 44 | |
| 40 | |
| 18 | |
| 18 |
| User | Count |
|---|---|
| 70 | |
| 68 | |
| 33 | |
| 32 | |
| 32 |