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
I want to calculate about how long that initial order will be ran out of stock
and this is sample of current data (M is sales of each month),
column "Month" is total month until stock ran out (I need this column)
Currently, i can write "if" formula like sample below, but in actual data i have around 36 months so it too long
Can i set formula as a VAR or not? Please help
Hello,
It looks like a question concerning DAX. If so, I am afraid that it is out of our expertise therefore, it is better to ask in appropriate threads: this one, or another one.
Kind Regards,
Evgenii Elkin,
Software Engineer
Microsoft Power BI Custom Visuals
pbicvsupport@microsoft.com
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 7 | |
| 5 | |
| 2 | |
| 2 | |
| 2 |