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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hi,
I have a dataset of production values with dates and a flag column indicating the first production value in the series.
Is it possible to force a measure to divide the flagged values by 12 and take an average of the remaining values?
Thanks
Solved! Go to Solution.
Try
calculate(averagex(filter(table,table[flag]=1),value/12))
@amitchandak Thanks you for your response.
This works to give me the correct single value for flagged data point but does not produce an average for the remaining months i.e. all remaining months are null.
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 58 | |
| 52 | |
| 40 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 112 | |
| 108 | |
| 39 | |
| 34 | |
| 27 |