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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hello,
I need to create a Measure that first group the lines by Date (summarizing) and then return the minimum date that have the sum lower than zero.
I try to create the following measure, but it seems that I can't use table in the calculation (the underline text is an error).
Solved! Go to Solution.
@apiccolotto , Try like
Stock_Cover test =
MINX(filter(SUMMARIZE('Stock Cover','Stock Cover'[Date],"Quantity",sum('Stock Cover'[Sum of Init Stock - Outflow + On Orders[Volume]]])),[Quantity]<0),[Date])
@apiccolotto , Try like
Stock_Cover test =
MINX(filter(SUMMARIZE('Stock Cover','Stock Cover'[Date],"Quantity",sum('Stock Cover'[Sum of Init Stock - Outflow + On Orders[Volume]]])),[Quantity]<0),[Date])
Thanks a lots, it works.
A.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 51 | |
| 47 | |
| 29 | |
| 15 | |
| 14 |
| User | Count |
|---|---|
| 88 | |
| 73 | |
| 39 | |
| 26 | |
| 24 |