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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 40 | |
| 36 | |
| 34 | |
| 31 | |
| 27 |
| User | Count |
|---|---|
| 136 | |
| 103 | |
| 66 | |
| 65 | |
| 56 |